vbs script does not run on a scheduled task

G

Guest

i have a vbs script that was running till someone did
something onto a win2k server.
the task schedule runs if the selected application has
.cmd suffix instead of .vbs.
the message is: "could not start application"
executed by: Administrator
program: shows application license availability every 5 min
 
P

Pegasus \(MVP\)

hal9000 said:
i have a vbs script that was running till someone did
something onto a win2k server.
the task schedule runs if the selected application has
.cmd suffix instead of .vbs.
the message is: "could not start application"
executed by: Administrator
program: shows application license availability every 5 min

You're assuming that the Command Processor under the
Task Scheduler knows what to do with .vbs files. It does
not - you need to tell it! Try this instead:

%SystemRoot%\System32\WScript.exe c:\tools\YourVBSScrip.vbs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top