Really you can lock folder using batch files. So Lock everything.......
Step 1: Open Notepad
First of all open Notepad
Step 2: Copy and Paste
Just copy and paste it to the notepad
@ECHO OFF
title Lock any folder without any software
if EXIST "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}" goto UNLOCK
if NOT EXIST "Secure Folder" goto makeFolder
: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 "Secure Folder" "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
attrib +h +s "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%==showmyFolder goto FAIL
attrib -h -s "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
ren "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}" "Secure Folder"
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:makeFolder
md "Secure Folder"
echo Folder created successfully
goto End
:End
Step 3: Save It
Now save it as locker.bat
your saved file will look like this -
Step 4: Open That
Double click on locker.bat file
A new folder named "Secure Folder" will be created.
Now move your all content to this folder.
Step 5: Lock
Done. Double click on locker.bat file and it will ask you for locking folder. Type y and hit enter.
Refresh and your folder will disappear means locked.
Step 6: How to Open
Double click on locker.bat File and now it will ask for password.
By default the password is "showmyFolder" without inverted comma. Enter it and your folder will appear.
Step 1: Open Notepad
First of all open Notepad
Step 2: Copy and Paste
Just copy and paste it to the notepad
@ECHO OFF
title Lock any folder without any software
if EXIST "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}" goto UNLOCK
if NOT EXIST "Secure Folder" goto makeFolder
: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 "Secure Folder" "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
attrib +h +s "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%==showmyFolder goto FAIL
attrib -h -s "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
ren "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}" "Secure Folder"
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:makeFolder
md "Secure Folder"
echo Folder created successfully
goto End
:End
Step 3: Save It
Now save it as locker.bat
your saved file will look like this -
Step 4: Open That
Double click on locker.bat file
A new folder named "Secure Folder" will be created.
Now move your all content to this folder.
Step 5: Lock
Done. Double click on locker.bat file and it will ask you for locking folder. Type y and hit enter.
Refresh and your folder will disappear means locked.
Step 6: How to Open
Double click on locker.bat File and now it will ask for password.
By default the password is "showmyFolder" without inverted comma. Enter it and your folder will appear.
0 comments:
Post a Comment