Greetings, D'Amato, Paul J
1st You didn't need loop for waiting download. It can cause error because wget
create file immediately. WshShell.Run has WaitOnReturn parametr. So You can try
something like "WshShell.Run runWget , 0, True"
2nd Possible variant - please check value of WshShell.CurrentDirectory
property. When You lauch script manually, it start from it directory. Sheduler
lauch script from some system directory. You can or assign value to
WshShell.CurrentDirectory (WshShell.CurrentDirectory = currentDirectory) or
(may be better) use "-P" wget option.
Best regards, Alex