Created
May 31, 2011 20:50
-
-
Save seddi/1001257 to your computer and use it in GitHub Desktop.
windows'ta istediginiz bir klasoru dosya icinde verilen sifre ile kilitler ve acmak icin sifrenin girilmesi gerekir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
title Klasor Kilitleme | |
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK | |
if NOT EXIST Locker goto MDLOCKER | |
:CONFIRM | |
echo Ne yapmak istiyorsaniz karsiligindaki harfi yazip ENTER'a basin | |
echo. | |
echo Klasor kilitlemek (K) | |
echo. | |
echo Cikmak (C) | |
echo. | |
set/p "cho=>" | |
if %cho%==K goto LOCK | |
if %cho%==k goto LOCK | |
if %cho%==C goto END | |
if %cho%==c goto END | |
echo yanlis secim | |
goto CONFIRM | |
:LOCK | |
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" | |
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" | |
echo Klasor Kilitlendi | |
goto End | |
:UNLOCK | |
echo Kilidi acmak icin sifrenizi girin | |
set/p "pass=>" | |
if NOT %pass%== SIRENIZI_BURAYA_YAZIN goto FAIL | |
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" | |
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker | |
echo Kilit basariyla acildi | |
goto End | |
:FAIL | |
echo Yanlis sifre | |
goto end | |
:MDLOCKER | |
md Locker | |
echo Locker klasoru yapildi | |
goto End | |
:End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment