Advertisement
SynMonger

DirtyBatch

Feb 3rd, 2012
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.68 KB | None | 0 0
  1. @echo off
  2. echo Creating temp directory
  3. mkdir c:\temp
  4. del c:\temp\*.* /Q
  5.  
  6. echo Copying Files...
  7. copy \\jellis\login\*.* c:\temp /Y
  8.  
  9. echo Creating A+LS web link
  10. copy "c:\temp\A+LS.url" "c:\Documents and Settings\student\desktop"
  11.  
  12. echo Deleting A+LS software
  13. del "c:\Documents and Settings\All Users\Desktop\A+LS.lnk"
  14. del "c:\Documents and Settings\student\Desktop\A+LS.lnk"
  15. rmdir "c:\als30" /S /Q
  16.  
  17. echo Installing Flash for IE
  18. MSIEXEC.EXE /I C:\temp\install_flash_player_11_active_x_32bit.msi /QB- /LWAMOE c:\temp\install.log
  19.  
  20. echo Installing Flash for Other Browsers
  21. MSIEXEC.EXE /I C:\temp\install_flash_player_11_plugin_32bit.msi /QB- /LWAMOE c:\temp\install.log
  22.  
  23. echo Logging off
  24. shutdown -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement