Advertisement
tolikpunkoff

xpinstall.bat

Feb 10th, 2019
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.45 KB | None | 0 0
  1. SET NETADDR=\\192.168.0.20\unatdistr                                                          
  2. SET NETDRIVE=Z
  3. SET INSTALLPATH=\os\winxp\
  4. SET UNATTEND=W:\scripts\unattend.txt
  5. SET SYSDRIVE=D
  6.  
  7. if exist %NETDRIVE%:%INSTALLPATH%i386\winnt32.exe goto INSTALL
  8.  
  9. net use %NETDRIVE%: %NETADDR%
  10. sleep 5
  11.  
  12. :INSTALL
  13. %NETDRIVE%:
  14. cd %INSTALLPATH%
  15. i386\winnt32.exe /s:%NETDRIVE%:%INSTALLPATH%i386 /syspart:%SYSDRIVE% /tempdrive:%SYSDRIVE% /unattend:%UNATTEND%
  16. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement