Passing Arguments via Scheduled Tasks

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 14 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
joel.delatorre
Posts: 83
Last visit: Tue Jan 17, 2017 9:26 am

Passing Arguments via Scheduled Tasks

Post by joel.delatorre »

Has anyone ran into a problem where trying to pass arguments to a vbscript via the task scheduler?

Running this in the Run field fails to grab the arguments

c:shutdown_Computer.vbs 13:00 18:00

The arguments pass thru fine via the command prompt or from PrimalScript.
User avatar
joel.delatorre
Posts: 83
Last visit: Tue Jan 17, 2017 9:26 am

Passing Arguments via Scheduled Tasks

Post by joel.delatorre »

Just tried that after I posted and it worked. TY Bill.
This topic is 14 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked