2/03/2014

How To Hide or Lock A Folder or File Without Any Software in PC

         
How To Hide or Lock A Folder or File Without Any Software in PC

Folder lock is the most useful software which is used to save data from the unwanted eyes . There are many peoples who want to access your files behind your absence .

As , you can use any software available on the web to hide your valuable files .if , you don't want use them , then this is a perfect solution for you to use Command  prompt .


Follow the given tutorial :

1.  Open your  "NOTEPAD"

2.  Copy and paste the following code (which is in red color).

    cls 
@ECHO OFF 
title HUGESTREET.BLOGSPOT.IN
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST MyFolder goto MDMyFolder 
:CONFIRM 
echo Are you sure 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 password to Unlock Your Secure Folder 
set/p "pass=>" 
if NOT %pass%== HUGESTREET 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 

                                                                                  
How To Hide or Lock A Folder or File Without Any Software in PC

3.  And then click on file menu and click on save as .

How To Hide or Lock A Folder or File Without Any Software in PC

4.  After that, select All Types Of Files in the Save as type menu. 
  
5.  Finally, save the file viz;  Mylocker.bat 



 NOTE :- File must be saved with .bat extension .

6.  After creating the file, double click on the saved file, then a new folder will be automatically created.
                                                       
How To Hide or Lock A Folder or File Without Any Software in PC
                        
7.  Now put your data or file into the Newly created folderand then again, double click on  Mylocker.bat

8.  And  type " Y " and then press  ENTER. And now your newly created My Folder
will be hidden from view .

9.  To un-hide the file,  double click on the Mylocker.bat and the enter the password  HUGESTREET   And then press ENTER . Now your file will be un-hide. This is also your default password.

Note :- you can change your password, go to the code. Find hugestreet and replace this with your own password.

Please try this with your useless data and then after verify, use your personal data.