If Not @Compiled Then Exit
If $CmdLine[0] < 2 Then
MsgBox(16, 'Error', 'Мало параметров :)')
Exit
EndIf
If $CmdLine[1] = 'del' Then
If FileExists(@DesktopDir & '\' & $CmdLine[2]) Then
If FileDelete(@DesktopDir & '\' & $CmdLine[2]) Then
MsgBox(64, 'Info', 'Удален файл ' & $CmdLine[2])
Else
MsgBox(16, 'Error', 'Не получилось :(')
EndIf
Else
MsgBox(16, 'Error', 'Нет файла ' & $CmdLine[2])
EndIf
EndIf