Password Protect Folder Using Batch Script

Hey, fascinating and helpful protecting your folders with Password without using any third party software with full control over command prompt (CMD).

Still there are other ways available for you to protect your folders, some of them they charge for premium service before you could actually make full use of those softwares.

Steps involved:

1. Open Notepad and Copy code given below into it.

Password used it winadmin (see-> if NOT %pass%==).

2. Save the file as Close.bat (.bat is must)
3. Now double click on lClose.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on Close.bat and when command promp appears Type Y and press enter.
6. Now MyFolder will be hidden from you view, to access that folde double click on Close.bat
7. It will ask for password enter your password and done.

Note: To change the password replace winadmin with new password in the above code

Cheers !

0 Responses to “Password Protect Folder Using Batch Script”

Post a Comment

Windows Admin Jobs in Pune