home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p115 / 5.ddi / GCD4 / UNLOCK.BAT < prev   
Encoding:
DOS Batch File  |  1989-10-17  |  390 b   |  21 lines

  1. @echo off
  2. if %1@==@ goto usage
  3. echo Are you sure you want to unlock %1? (Hit Ctrl-C to abort)
  4. pause
  5. if not exist %1.lck goto error
  6.  
  7. attrib -r %1.lck
  8. del %1.lck >nul
  9. goto end
  10.  
  11. :error
  12. echo The file %1.lck was not found!
  13.  
  14. :usage
  15. echo Usage:
  16. echo    UNLOCK PART
  17. echo where PART is the name of the part to unlock (without .DRW)
  18. echo UNLOCK will delete the .LCK file.
  19.  
  20. :end
  21.