banner_ad

file protected with passward in the help of MS Dos

Others 2051 views 3 replies

 

 

can it possiable a file or folder protected with passward with the help of MS DOS 

 

ple tell me can it possiable if possiable what poredure  fot do it 

Replies (3)

 

The below code in MS DOS will help you to lock folder/files without using any software. Though it can be easily cracked, will help you to lock to beginners of windows.

 

Copy this below code to a notepad and save it as Locker.bat Replace this line "if NOT %pass%==password goto FAIL" with required password of your own. Double click the Locker.bat file, this will create a folder calling "locker" on the current folder. Place the file that to be locked on the newly created "locker" folder. Now, again double click the Locker.bat file. This will make the locker folder to hide thereby locking the files inside them. To Unlock the files, double click the Locker.bat file and give the correct password.

 

cls

@ ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

echo Are you sure u 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 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}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End

Hope this would help you to lock folder/files without using any software in Windows

 

haha ha ha ha ha. Who has time to remember this big process to lock a single file or multiple files.

 

I have a software to hide the folder as well as files in folders. If you want then mail me at harpreet00 @ hotmail.com

 

Thanks

Harpreet

 

This may help

Click Here


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
22 May 2026
Audit assistant

Displayandbeyond

Mumbai

CA

View Details
Company
09 June 2026
Accounts Associate

S Madan and CO

New Delhi

Graduate (Any)

View Details
Company
14 May 2026
Senior Accounts Executive

Karan Gupta & Co.

New Delhi

Graduate (Any)

View Details
Company
ARTICLESHIP 14 May 2026
CA ARTICLE

PRAVEEN GARG & CO

Faridabad

CA Foundation

View Details
Company
ARTICLESHIP 31 May 2026
Article Assistant

KPRS And Associates

New Delhi

CA Inter

View Details
Company
19 May 2026
Article, CA & Paid Assistant Positions

Aggarwal Sarawagi and Co

New Delhi

CA

View Details
Company
29 May 2026
Company Secretary - Part time

Shaswat initial support private limited

Ahmedabad

CS

View Details
Company
23 May 2026
Article Assistant

Geeta Manchanda & CO.

New Delhi

CA Inter

View Details