SHARE
TWEET

win7install.bat

tolikpunkoff Feb 16th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. echo Set variables...
  3. SET NETADDR=\\PXE\win7                                                          
  4. SET NETDRIVE=Z
  5.  
  6. echo Checking setup.exe...
  7. if exist %NETDRIVE%:\sources\setup.exe goto INSTALL
  8.  
  9. echo Mount share...
  10. net use %NETDRIVE%: %NETADDR%
  11. sleep 5
  12.  
  13. :INSTALL
  14. echo Launch setup...
  15. sleep 3
  16. %NETDRIVE%:
  17. cd \sources
  18. setup.exe
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top