Would you like to react to this message? Create an account in a few clicks or log in to continue.

make a private folder with notepad

3 posters

 :: PC's :: PC General

Go down

make a private folder with notepad Empty make a private folder with notepad

Post by Survivor3_14159 Tue Mar 15, 2011 10:58 am

put these lines in a notepad document. and save as, whatever.bat
to change password type whatever into the red 'Password' nd that will be your password

@ECHO OFF
title Type Password To Unlock Folder
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder? (Yes/No) or (Y/N)
set/p "cho=>"
if %cho%==YES goto LOCK
if %cho%==NO goto LOCK
if %cho%==no goto LOCK
if %cho%==yes goto LOCK
if %cho%==No goto LOCK
if %cho%==Yes goto LOCK
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid Choice (Y/N) or (Yes/No) Not Case Sensitive.
goto CONFIRM
:LOCK
ren Private "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 Folder
set/p "pass=>"
if NOT %pass%==Password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked Successfully
goto End
:FAIL
echo Incorrect Password
Goto :UNLOCK
:MDLOCKER
md Private
echo Private Folder Created successfully
goto End
:End
Survivor3_14159
Survivor3_14159

Posts : 96
Join date : 2011-01-06
Age : 28
Location : U.S.A

Back to top Go down

make a private folder with notepad Empty Re: make a private folder with notepad

Post by De$oLu$ Tue Mar 15, 2011 3:00 pm

could be usefull for gamesaves, when its for someone specific, and pm them the code?

good job, i tested it and it works perfectly,
but is there any way to change the password?
De$oLu$
De$oLu$

Posts : 396
Join date : 2011-03-10
Age : 27
Location : ṲṆḬṬḜḌ ṨṬḀṬḜṨ ṎḞ ḀṂḜṜḬḈḀ, ḞḸṎṜḬḌḀ

http://www.xtdlx.forumotion.com

Back to top Go down

make a private folder with notepad Empty Re: make a private folder with notepad

Post by Survivor3_14159 Tue Mar 15, 2011 10:06 pm

yes you substitute the word 'Password' in red for what ever you want
Survivor3_14159
Survivor3_14159

Posts : 96
Join date : 2011-01-06
Age : 28
Location : U.S.A

Back to top Go down

make a private folder with notepad Empty Re: make a private folder with notepad

Post by De$oLu$ Wed Mar 16, 2011 7:19 am

okay, i see now, thanks, its really helpfull
De$oLu$
De$oLu$

Posts : 396
Join date : 2011-03-10
Age : 27
Location : ṲṆḬṬḜḌ ṨṬḀṬḜṨ ṎḞ ḀṂḜṜḬḈḀ, ḞḸṎṜḬḌḀ

http://www.xtdlx.forumotion.com

Back to top Go down

make a private folder with notepad Empty Re: make a private folder with notepad

Post by R3DH4WK Wed May 25, 2011 4:54 pm

Whoa. I have never seen anything like it! lol!
R3DH4WK
R3DH4WK
GFX Artist
GFX Artist

Posts : 457
Join date : 2011-02-21
Age : 25
Location : Check under your bed, outside your window, in your hard drive, and in your underwear drawer.

Back to top Go down

make a private folder with notepad Empty Re: make a private folder with notepad

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 :: PC's :: PC General

 
Permissions in this forum:
You cannot reply to topics in this forum