daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Nov 8th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Windows\SYSWOW64
  2.  
  3. rem Set up the remote path - assuming it is sharable
  4. set MY_DIR=\\vre_blt%%A\C:\Windows\SYSWOW64\
  5.  
  6. rem Mount the remote path
  7. net use %MY_DIR% % /USER:vre_blt%%A
  8.  
  9. taskkill.exe /S vre_blt%%A /FI "esclavo.exe"
  10. taskkill.exe /S vre_blt%%A /FI "escsrv.exe"
  11.  
  12.  
  13. rem Delete a file
  14. if exist "%MY_DIR%\escdll.dll" del /F "%MY_DIR%\escdll.dll" >nul
  15. if exist "%MY_DIR%\esclavo.exe" del /F "%MY_DIR%\esclavo.exe" >nul
  16. if exist "%MY_DIR%\esclavohw.exe" del /F "%MY_DIR%\esclavohw.exe" >nul
  17. if exist "%MY_DIR%\esclavx.cfg" del /F "%MY_DIR%\esclavx.cfg" >nul
  18.  
  19. rem Unmount the remote path
  20. net use %MY_DIR% /delete >nul
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