Breaking

Thursday, 8 November 2018

How To Lock File Without Any Software

Hello Friends Today In this post I will show you an useful and interesting trick how to password protect your folder without using any software, but just using batch file programming. This trick will work on all windows platform (Win XP, Win 7, Win 8, Win 10).


Follow The Below Procedure To Lock Folder Without Any Software.

1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title softsansar-yardofhacker.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST FolderLock goto MDFolderLock
: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 FolderLock "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%== yardofhacker goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" FolderLock
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDFolderLock
md FolderLock
echo FolderLock created successfully
goto End
:End
2. Save the notepad file as folderlock.bat (.bat mandatory)
3. Now double click on folderlock.bat and a new folder will be created with name FolderLock.
4. Copy all your data you want to protect in that New folder
5. Now double click on folderlock.bat
6. When command Prompt appears Type Y and press enter.
7. Now LockFolder will be hidden from you view.
8. To access that folder double click on folderlock.bat
9. It will ask for password enter the password and done.
10. Default password is yardofhacker


No comments:

Post a Comment

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]