I have written a short vbs and try to run in command prompt in windows:
WScript.Echo "-> Start"
Set WshShell = WScript.CreateObject("WScript.Shell")
iReturn = WshShell.Run ("echo hello", 1, TRUE)
However, I've got this error message:
C:\Documents and Settings\My Documents\test2.vbs(8, 1) (null): The system cannot find the file specified.
Do anyone know what's wrong with my script?
Pinky ^ - ^