Advertisement
easternnl

Using UNC path in Batch/CMD files

May 22nd, 2015
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.26 KB | None | 0 0
  1. REM Install a program from an UNC path within a batch file: use the %~dp0 before the executable which will result in:
  2. REM "\\easternnet.nl\files\Public\Software\AppV Client 5.0 SP3\appv_client_setup.exe" /q /ACCEPTEULA
  3. "%~dp0appv_client_setup.exe" /q /ACCEPTEULA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement