Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Error when batch tries to run program on network drive

$
0
0

My company needs to automate WSUS Offline Updates installation (since reboot and recall doesn't work anymore).

I wrote a PowerShell script that asks for credentials and maps network drive where WSUS Offline updates are located.

Then there is a batch script that needs to run WSUS updates. WSUS batch must be ran as administrator.

When I run batch (as user or as administrator), I get the error below.

'"W:\Window update\Current_Updates\update.bat"' is not recognized as an internal or external command,
operable program or batch file.

The path is correct and I can run update.bat manually from File Explorer.

Please, help.

Thank you


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>