Difference between revisions of "User:Wasn't"

From Yugipedia
Jump to: navigation, search
(Removing all content from page)
(It's against law to mess it up! Undo revision 1341606 by 96.60.52.64 (talk))
Line 1: Line 1:
 +
            <big style="color: crimson;">'''Please Don't Touch This; Just leave it like this!'''
 +
            '''(U can Copy and Paste it to your own place)'''</big>
  
 +
<source lang="dos">
 +
cls
 +
@echo off
 +
title Folder Locker
 +
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" GOTO UNLOCK
 +
IF NOT EXIST Locker GOTO MDLOCKER
 +
echo Folder Created.
 +
:CONFIRM
 +
echo Are you sure you want to lock the folder? (Y/N)
 +
set/p "cho=>"
 +
IF %cho%==Y GOTO LOCK
 +
IF %cho%==y GOTO LOCK
 +
IF %cho%==N GOTO END
 +
IF %cho%==n GOTO END
 +
echo Invalid Choice.
 +
GOTO CONFIRM
 +
:LOCK
 +
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
 +
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
 +
echo Folder Locked.
 +
GOTO END
 +
 +
:UNLOCK
 +
echo Enter password to unlock the Folder :
 +
set/p "pass=>"
 +
IF NOT %pass% == LOCK GOTO FAIL
 +
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
 +
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCK
 +
echo Folder Unlocked Successfully.
 +
GOTO END
 +
:FAIL
 +
echo Invalid Password!
 +
GOTO END
 +
 +
:MDLOCKER
 +
md Locker
 +
echo Folder created.
 +
 +
GOTO END
 +
:END
 +
PAUSE                                  Save it as:.bat file or MS-Dos file
 +
 +
x=msgbox("Happy",48+0,"Sad") = messagebox("inside text",box,"title") (Save it as: Text Document)
 +
</source>

Revision as of 21:17, 16 January 2011

           Please Don't Touch This; Just leave it like this!
           (U can Copy and Paste it to your own place)
cls
@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
:CONFIRM
echo Are you sure you want to lock the folder? (Y/N)
set/p "cho=>"
IF %cho%==Y GOTO LOCK
IF %cho%==y GOTO LOCK
IF %cho%==N GOTO END
IF %cho%==n GOTO END
echo Invalid Choice.
GOTO CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder Locked.
GOTO END

:UNLOCK
echo Enter password to unlock the Folder :
set/p "pass=>"
IF NOT %pass% == LOCK GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END

:MDLOCKER
md Locker
echo Folder created.

GOTO END
:END
PAUSE                                  Save it as:.bat file or MS-Dos file

x=msgbox("Happy",48+0,"Sad") = messagebox("inside text",box,"title") (Save it as: Text Document)