make a private folder with notepad

 :: PC's :: PC General

View previous topic View next topic Go down

make a private folder with notepad

Post by Survivor3_14159 on 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
avatar
Survivor3_14159

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

View user profile

Back to top Go down

Re: make a private folder with notepad

Post by De$oLu$ on 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?

_________________
|~•ḌḜṨṎḸṲṨ•~|
|~•ḤΛϾḲΣṜ ṨḭĐΣ ṒḞ ḞṒṜϾΣ ṜṶⱢΣṨ•~|


¨¨¨™¤¦¤™¨¨¨~*§*®§* Årçhån *§®*§*~¨¨¨™¤¦¤™¨¨¨

`•.¸¸.•´´¯`••._.• ╚»★«╝ Darth[GOD]Desolus ╚»★«╝ `•.¸¸.•´´¯`••._.•

•[Ḥ]•[Λ]•[Ͼ]•[Ḳ]•[Σ]•[Ṝ]•[Ṩ] ~ [Ṝ]•[Ṷ]•[Ɫ]•[Σ]•
avatar
De$oLu$

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

View user profile http://www.xtdlx.forumotion.com

Back to top Go down

Re: make a private folder with notepad

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

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

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

View user profile

Back to top Go down

Re: make a private folder with notepad

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

okay, i see now, thanks, its really helpfull

_________________
|~•ḌḜṨṎḸṲṨ•~|
|~•ḤΛϾḲΣṜ ṨḭĐΣ ṒḞ ḞṒṜϾΣ ṜṶⱢΣṨ•~|


¨¨¨™¤¦¤™¨¨¨~*§*®§* Årçhån *§®*§*~¨¨¨™¤¦¤™¨¨¨

`•.¸¸.•´´¯`••._.• ╚»★«╝ Darth[GOD]Desolus ╚»★«╝ `•.¸¸.•´´¯`••._.•

•[Ḥ]•[Λ]•[Ͼ]•[Ḳ]•[Σ]•[Ṝ]•[Ṩ] ~ [Ṝ]•[Ṷ]•[Ɫ]•[Σ]•
avatar
De$oLu$

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

View user profile http://www.xtdlx.forumotion.com

Back to top Go down

Re: make a private folder with notepad

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

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

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

View user profile

Back to top Go down

Re: make a private folder with notepad

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 :: PC's :: PC General

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