Folder Lock Without using any Software:
How to Lock a Folder without any software
1. Create a folder and place the data which you want to hide. We will lock this folder.
Ex: varma folder(let) on any Localdisk.
2. We have to create two other files one for locking and another for unlocking. Let us say them as Locker and key respectively.
3.To create Locker file open notepad and type as follows
ren varma varma.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Here varma is the folder to be locked.
Now save it as “Locker.bat”
4. To create Key file open notepad and type as follows
ren varma.{21EC2020-3AEA-1069-A2DD-08002B30309D} varma
Now save it as “Key.bat”
5. Now double click on Locker to lock the folder “varma” , this is that it turns into control panel.
6. To unlock double click on Key.
Move these Locker and Key to another directory so that no one can open your locked folder.
This program is used to Shutdown Your System
C programming code for Windows XP
#include<stdio.h>
#include<stdlib.h>
main()
{
char ch;
printf("Do you want to shutdown your computer now (y/n) ");
scanf("%c",&ch);
if( ch == 'y' || ch == 'Y' )
system("C:\\WINDOWS\\System32\\shutdown -s");
return 0;
}
C programming code for Windows 7
#include<stdio.h>
#include<stdlib.h>
main()
{
char ch;
printf("Do you want to shutdown your computer now (y/n)\n");
scanf("%c",&ch);
if( ch == 'y' || ch == 'Y' )
system("C:\\WINDOWS\\System32\\shutdown /s");
return 0;
}