Follow the steps which are given below.
Step1: Collect all your important data into a single folder
Step2: Rename the folder with the following code with out quotes ".{21EC2020-3AEA-1069-A2DD-08002B30309D}"
For example your folder name is "MY DATA" rename it to "MY DATA .{21EC2020-3AEA-1069-A2DD-08002B30309D}"
Thats it your folder looks like a control panel and when you open it, it redirects to control panel.

To reverse this processClick Start>Run, then type cmd it enters into command prompt
locate to your destined folder which is locked.
Then type dir/x to show up the directory listing
Rename the folder by typing as " ren MY DATA~1.{21 MYDATA"
MY DATA is my folder which i have locked you can name your folder as you like.

For a basic programmers you can use another process for locking a folder
Step 1 :Compile this code in C Language and generate EXE file of it....
#include
#include
void main()
{
FILE *f;
int n,i;
char fldr[20];
printf(">>>>>>>>>>>>>>>>>FOLDER LOCK<<<<<<<<<<<<<<\n Coded By Pradeep G"); printf("\nWhat do you want to do??"); printf("\n1).Lock Folder\n2).Unlock Folder\n"); scanf("%d",&n); switch(n) { case 1: {f=fopen("conv.bat","w"); printf("\nEnter Folder Name : "); scanf("%s",fldr); fprintf(f,"rename %s %s.{21EC2020-3AEA-1069-A2DD-08002B30309D}\ndel conv.bat",fldr,fldr); fclose(f);}break; case 2: {f=fopen("conv.bat","w"); printf("\nEnter Folder Name : "); scanf("%s",fldr); fprintf(f,"rename %s.{21EC2020-3AEA-1069-A2DD-08002B30309D} %s\ndelconv.bat",fldr,fldr); fclose(f);}break; } }
Step 2: After Getting exe file go to parent folder in which a folder to be locked is placed.. and run this program
My Computer: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Control Panel: {21EC2020-3AEA-1069-A2DD-08002B30309D}
Printers: {2227A280-3AEA-1069-A2DE-08002B30309D}
Internet Explorer: {871C5380-42A0-1069-A2EA-08002B30309D}
Network Neighborhood: {208D2C60-3AEA-1069-A2D7-08002B30309D}
Subscriptions: {F5175861-2688-11d0-9C5E-00AA00A45957}
ActiveX Cache Folder: {88C6C381-2E85-11D0-94DE-444553540000}
Step 3: it will create One file name conv.bat run this file and Wowvieeee... your folder is locked...

No comments:
Post a Comment