Creating a new article via the Article Creator
New page
Does your Computer has multiple users? Are you worried concerning about the files or folder access? If you want to protect your private folder from others, Then you are at a right place. This is a very useful trick to Password protect a folder. By using this trick you can set a customized password for your folder.
== Steps ==
# Open Notepad.
# Copy this code: cls @ECHO OFF title onlinecmag.com if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST MyFolder goto MDMyFolder :CONFIRM echo Do you want to lock this 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 MyFolder "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 the password to Unlock Your Folder set/p "pass=>" if NOT %pass%==onlinecmag goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDMyFolder md MyFolder echo MyFolder created successfully goto End :End
# Save that notepad file as ” OnlineCmag.bat ” ( .bat extension is must). Or use another name for the bat extension.
# Now double click on ” OnlineCmag.bat ” , Then a new folder will be created with name ” My Folder “.
# Send all your files and data to this folder (which you want to hide or protect ) .
# Again Double click on the ” OnlineCmag.bat ”
# Now double click on the ” OnlineCmag.bat ” , Then the command prompt will be displayed .
# Now Type "Y” and press enter to lock the folder .
# Now The Folder will be hidden , to access that hidden Folder just double click on ” OnlineCmag.bat ” .
# Now you will be asked to enter the password. We have set the default password as ” onlinecmag ” . The hidden folder will now appear and you can access it.
== Tips ==
* Note : You can change password by replacing the ” onlinecmag ” in above code .
== Warnings ==
* If you cannot remember the password you set, you may edit it.
== Steps ==
# Open Notepad.
# Copy this code: cls @ECHO OFF title onlinecmag.com if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST MyFolder goto MDMyFolder :CONFIRM echo Do you want to lock this 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 MyFolder "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 the password to Unlock Your Folder set/p "pass=>" if NOT %pass%==onlinecmag goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDMyFolder md MyFolder echo MyFolder created successfully goto End :End
# Save that notepad file as ” OnlineCmag.bat ” ( .bat extension is must). Or use another name for the bat extension.
# Now double click on ” OnlineCmag.bat ” , Then a new folder will be created with name ” My Folder “.
# Send all your files and data to this folder (which you want to hide or protect ) .
# Again Double click on the ” OnlineCmag.bat ”
# Now double click on the ” OnlineCmag.bat ” , Then the command prompt will be displayed .
# Now Type "Y” and press enter to lock the folder .
# Now The Folder will be hidden , to access that hidden Folder just double click on ” OnlineCmag.bat ” .
# Now you will be asked to enter the password. We have set the default password as ” onlinecmag ” . The hidden folder will now appear and you can access it.
== Tips ==
* Note : You can change password by replacing the ” onlinecmag ” in above code .
== Warnings ==
* If you cannot remember the password you set, you may edit it.
from wikiHow - Recent Changes [en] http://bit.ly/2WsBMjc
via IFTTT