My issues is when i run the .vbs script locally on my computer everything works and all is well.
If I try to run this in a batch script calling the .vbs from a network folder location, (there are no restrictions or permissions on the network folder) I get an error that the .vbs cannot be found.
I am the system admin on this machine, and have tried launching this batch with the "run as administrator" option. still I get the same error.
If someone had tried somthing like this and or had some ideas on what could be causing this, please let me know.
here is my code:
Code: Select all
@echo.
wscript "\\bh-miworks-srv2\PrintDrivers\Printers\Benton Harbor\Benton Harbor\Dockside.vbs"
@echo.
Here is my error:
---------------------------
Windows Script Host
---------------------------
Can not find script file "\\bh-miworks-srv2\PrintDrivers\Printers\Benton Harbor\Benton Harbor\Dockside.vbs".
---------------------------
OK
---------------------------
Thanks Again