Let's pretend we have a folder located at: C:\myfolder. Let's make those two files now. Open a empty text document and write: ren C:\myfolder myfolder.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Save this one as LOCK.BAT somewhere. Open a new text document and paste this: ren C:\myfolder.{21EC2020-3AEA-1069-A2DD-08002B30309D} myfolder
Save this one as UNLOCK.BAT and save it in same directory as the LOCK file. You should be done by now.
Good to know: When the folder is locked, it will redirect the user to the desktop ;) Also don't forget that the folder can be deleted anytime by a user with administrative privlidges on the same local computer. Enjoy!
0 comments:
Post a Comment