make a private folder with notepad

 :: PC :: 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 4:58 pm

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

Posts: 95
Join date: 2011-01-06
Age: 16
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 9: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 ╚»★«╝ `•.¸¸.•´´¯`••._.•

•[Ḥ]•[Λ]•[Ͼ]•[Ḳ]•[Σ]•[Ṝ]•[Ṩ] ~ [Ṝ]•[Ṷ]•[Ɫ]•[Σ]•

De$oLu$

Posts: 392
Join date: 2011-03-10
Age: 15
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 Wed Mar 16, 2011 4:06 am

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

Survivor3_14159

Posts: 95
Join date: 2011-01-06
Age: 16
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 1:19 pm

okay, i see now, thanks, its really helpfull

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


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

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

•[Ḥ]•[Λ]•[Ͼ]•[Ḳ]•[Σ]•[Ṝ]•[Ṩ] ~ [Ṝ]•[Ṷ]•[Ɫ]•[Σ]•

De$oLu$

Posts: 392
Join date: 2011-03-10
Age: 15
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 10:54 pm

Whoa. I have never seen anything like it! lol!

R3DH4WK
GFX Artist
GFX Artist

Posts: 456
Join date: 2011-02-22
Age: 13
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

View previous topic View next topic Back to top

- Similar topics

 :: PC :: PC General

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