How To Lock Folder ? Without any software




Open Notepad and Copy code given below into it.

cls
@ECHO OFF
title Smit_Vadher
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Smit goto MD
: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 Smit "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%== COMPUTERZTRICK goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Smit
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MD
md Smit
echo Folder created successfully
goto End
:End

2. Save the file as lock.bat (.bat is must required)
3. Now double click on lock.bat and a new folder will be created with name myfolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command prompt appears Type Y and press enter.
6. Now myfolder will be hidden from you view, to access that folder double click on lock.bat
7. It will ask for password enter your password and done. (Default password is COMPUTERZTRICK)
To change the password replace COMPUTERZTRICK with new password in the above code

How To Remove Shortcut Virus From Pendrives And Memory Cards




Click on "Start" -->Run --> type cmd and click on OK. 
Here I assume your pen drive letter as F: 
Enter this command.

attrib -h -r -s /s /d \*.*
like this

OR

if you not entered K latter to cmd then write this code


attrib -h -r -s /s /d F:\*.*
like this



NOTE:
Don't forget to replace the letter F with your pen drive letter. 
You can copy the above command --> Right-click in the Command Prompt and 
paste it. 
Now press "ENTER". 

That’s it!!!!




You Can use this software. 

Download Link :  Super Hide

only select the drive latter then select hide or unhide.
hide is use to hide all data in selected drive and unhide is unhide the all data from selected drive.

Make Undeletable, Unrenamable Folders (Cmd)







Click on Start.
Click on Run. Type in “cmd” without quotes.

In the Command Prompt Window that opens, type the name of the drive you wish to create your folder in the format <drive-name>: and press Enter. e.g. If you wish to create the undeletable folder in D drive, type “D:” without the quotes. Note that the folder cannot be created in the root of C:/ drive (if C: is your system drive).

Type this command- “md con\” or “md lpt1\” without the quotes and press Enter. You can choose any of the keywords given above as the name of your folder.

* Note – The basic concept behind this trick is the use of Keywords. Keywords are reserved words in any programming language that cannot be used as names of variables. Windows also uses certain keywords in its programming. Some of them are con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9.