unlocker.bat 272 B

12345678910
  1. @call "%~dp0config.bat" 0 > nul
  2. if [%1]==[] goto help
  3. echo * Datei %1 entsperren
  4. ..\Unlocker\%PROG%\unlocker.exe %1 /S
  5. for /F "usebackq delims= " %%i in (`net file ^| find /I "%~x1"`) do net file %%i /close > nul
  6. goto :eof
  7. :help
  8. echo Aufruf: call unlocker.bat datei.xyz