Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Set variables...
- SET NETADDR=\\PXE\win7
- SET NETDRIVE=Z
- echo Checking setup.exe...
- if exist %NETDRIVE%:\sources\setup.exe goto INSTALL
- echo Mount share...
- net use %NETDRIVE%: %NETADDR%
- sleep 5
- :INSTALL
- echo Launch setup...
- sleep 3
- %NETDRIVE%:
- cd \sources
- setup.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement