VBScript - VisualCron - Forum

Community forum

laurin1
2008-03-05T21:33:07Z
Has anyone used VBScript with VisualCron? I tried executing c:\windows\system32\cscript.exe, with myscript.vbs as the argument, but it doesn't work. Any ideas?
Black4cimt
2008-03-05T23:03:55Z
Try running C:\Windows\system32\wscript.exe. It works for me. Then put your script down as an argument.
laurin1
2008-03-05T23:05:51Z
Actually, it was my fault. No path in front of the script. Doh!

What is the difference between cscript and wscript?
Support
2008-03-06T08:58:48Z
Actually, I don't know. I looked at this page: http://connect.microsoft...k.aspx?FeedbackID=182672 

Someone said:

Quote:

The difference that I DO see is that when I run the command from a console, cscript is run synchronously, and wscript is not. This is a normal difference for console vs windows programs run from a console window. Cscript.exe is a console program. Wscript.exe is a Windows program.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top