Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can anyone tell me how to run a vbs

Status
Not open for further replies.

darren77uk

IS-IT--Management
Apr 23, 2001
78
CA
Can anyone tell me how to run a vbs script via a logon script within Windows?

would it be something like the following?

run \\servername\share\script.vbs ?

or
start \\servername\share\script.vbs ?

Please help.

Cheers
 
Believe you need to have your vbs script as a parm to wscript:

c:\winnt\system32\wscript.exe \\servername\share\script.vbs

if your vbs has any arguments then they would follow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top