home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
pcresorc
/
pcr815.arc
/
KEY.BAT
next >
Wrap
DOS Batch File
|
1988-08-10
|
224b
|
15 lines
ECHO OFF
IF "%KEY%"=="" GOTO UNLOCK
:LOCK
ATTRIB +R *.*
SET KEY=
SET PROMPT=%OLDPROMPT%
SET OLDPROMPT=
GOTO END
:UNLOCK
SET KEY=OPEN
ATTRIB -R *.*
SET OLDPROMPT=%PROMPT%
SET PROMPT=%PROMPT%$L UNLOCKED $G
:END