home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcresour
/
1981_05
/
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