home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if %1@==@ goto usage
- echo Are you sure you want to unlock %1? (Hit Ctrl-C to abort)
- pause
- if not exist %1.lck goto error
-
- attrib -r %1.lck
- del %1.lck >nul
- goto end
-
- :error
- echo The file %1.lck was not found!
-
- :usage
- echo Usage:
- echo UNLOCK PART
- echo where PART is the name of the part to unlock (without .DRW)
- echo UNLOCK will delete the .LCK file.
-
- :end
-