1
votes

Guys I've created a basic logon script mapping network drives and would like that batch file to call the printer .vbs script. This is the command after my last "net use" command in the batch file, to launch the .vbs file in the same directory.

start \\<Server>\c$\<directory>\Printers.vbs

What is the correct command to launch the .vbs file?

1
What is wrong with your command?Andriy M

1 Answers

2
votes

You need to use cscript.

cscript Printers.vbs