Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. rem close all network files that are locked
  2. for /f "skip=4 tokens=1" %%a in ('net files') do net files %%a /close
  3.  
  4. @echo off
  5. for /f "tokens=3,6,8 delims=: " %%i in ('handle -p eclipse e:git ^| grep .xml') do echo Releasing %%k & handle -c %%j -y -p %%i
  6.  
  7. @echo off
  8. for /f "tokens=3,6,8 delims=: " %%i in ('handle -p eclipse e:git') do echo Releasing %%k & handle -c %%j -y -p %%i
  9.  
  10. @echo off
  11. for /f "tokens=3,6,8 delims=: " %%i in ('handle e:git') do echo Releasing %%k & handle -c %%j -y -p %%i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement