Friday, 18 October 2013

Hide Folders in System Using Notepad


Code:
             
             
cls 
@ECHO OFF 
title techgblog 
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%== techgblog 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

Procedure:
·  Go to notepad.
·  Copy the above code into notepad.
·  Save your file as locker.bat. 
·  Now open the saved batch file. Now you can get one new folder. In that new folder you can add your files.
·  Then again open the saved batch file now press Y and hit enter. Now your folder will be locked and the folder will be hidden.
·  If you want to re-view your folder again open the batch file and enter the password as techblog
Note:
Note : 
  •   You can change your password in the coding replace your password instead of techgblog.
  •   It will works only in the windows vista, windows xp, windows 7 and windows 8.
  •   Initially you check this using useless files if it is working then you can protect your files.
  After lock your files don't delete the batch file.

0 comments :

Post a Comment

We Serve All for Free!