- Suppose you want to lock the folder games in d, which has the path D:\Games.
- In the same drive, create a text file and type
Ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D} - Save this text file as loc.bat
- Create another text file and type in it
Ren games.{21EC2020-3AEA-1069-A2DD-08002B30309D} games - Save this text file as key.bat
- Now you can see 2 batch files loc and key.
- Press loc and the folder games will change to control panel and you cannot view its contents (loc.bat stands for lock).
- Press key and you will get back your original folder. (key.bat stands for key to open the lock).
- The Lock (loc.bat) actually renames the folder games to games.{21EC2020-3AEA-1069-A2DD-08002B30309D} . The Key renames it back to "games".
- The .{21EC2020-3AEA-1069-A2DD-08002B30309D} is an example of ClassID (CLSID). Every objects on your computer identified by using these unique hexadecimal IDs. ".{21EC2020-3AEA-1069-A2DD-08002B30309D}" is CLSID for Control Panel.
0 comments:
Post a Comment