Hello
Can any one tell me what is worng on this script
If $CmdLine[0]=1 Then
RunWait("psexec.exe -s \\ ' & $CmdLine[1] &' & cmd")
; Do what you specified , e.g. sleep 99 sec
Else
MsgBox (0, 'Test', 'Cmdline was not used.')
; Do your default stuff, e.g. sleep 1 sec
EndIf
Can any one tell me what is worng on this script
If $CmdLine[0]=1 Then
RunWait("psexec.exe -s \\ ' & $CmdLine[1] &' & cmd")
; Do what you specified , e.g. sleep 99 sec
Else
MsgBox (0, 'Test', 'Cmdline was not used.')
; Do your default stuff, e.g. sleep 1 sec
EndIf