Ten kod czekać the proces przed nowy.
Ustalony ArgObj = WScript.Arguments
Ustalony WshShell = CreateObject ("WScript.Shell
")
Dla ArgObj strArg w ArgObj
Ustalony objExec = objWshShell.Exec ("pscp - r - pw KornShell321
[email protected] 20.139.231.16: /var/opt/soe/local/harden/harden-history/
"&strArg&
"/* C:\Test _Data ")
Robić podczas gdy objExec.Status=0
WScript.Sleep 100
pętla
Następnie