Bear67

Unload_

Jan 6th, 2022 (edited)
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.76 KB | None | 0 0
  1. @rem ----- ExeScript Options Begin -----
  2. @rem ScriptType: console
  3. @rem DestDirectory: temp
  4. @rem Icon: default
  5. @rem ----- ExeScript Options End -----
  6. @echo off
  7. IF Exist X: (Set Log=X:\Unload.log) Else (Set Log=NUL:)
  8.  
  9. C:
  10. cd\
  11. cd %HomePath%\Desktop
  12. IF Exist Z: (Set Ram=Z:) else (Set Ram=%temp%\%UserDomain%)
  13. :_UMTC
  14. IF %RAM%==Z: (%Ram%) Else (cd %Ram%)
  15. TrueCrypt.exe /f /d /s /w /q
  16. IF EXIST T: (goto _UMTC)
  17. IF EXIST TrueCrypt.exe (del true*.* >>%Log%) Else (echo No Files to Delete >>%Log%)
  18. IF EXIST CleanEdit.bat (Call CleanEdit.bat 3 >>%Log%)
  19. IF EXIST CleanEdit.bat (Call CleanEdit.bat 4 >>%Log%)
  20. cd ..
  21. IF Exist %UserDomain% (RD %UserDomain%)
  22. IF Defined TC (Set TC=)
  23.  
  24. C:
  25. cd\
  26. cd %HomePath%\Desktop
  27. del /Q Unload_*.bat >>Nul:
  28. Set Log=
  29. Set Debug=
  30.  
  31. :_EOF
  32.  
Add Comment
Please, Sign In to add comment