Wednesday, August 12, 2015

[How To] Make An Inaccessible, Undeletable & Unrenamable Folder

Make An Inaccessible, Undeletable & Unrenamable Folder


Basic Concept

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, lpt9.

    Testing
    To test this concept, make a new folder in Windows and try to give it a name same as any keyword mentioned above.

    Inaccessible Folder Created Using CMD


    Result
    Windows will not rename your folder to any of the keyword given above.

    Trick
    So the question arises, how can we make a folder with a keyword as its name? The solution to this problem is included in Windows itself. As we know that Windows has evolved from DOS, its commands can be used in Windows. You can use DOS Programming in Windows to create a folder with a keyword as its name using the steps given below:

    Step 1: Click on Start.

    Step 2: Click on Run. Type in cmd.

    Step 3: In the Command Prompt Window, type the name of the drive you wish to create your folder in the format : and press  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).
    Step 4: Type this command:

    md con\ 

    (where, con\  is the keyword used for folder name) and press . You can choose any of the keywords given above as the name of your folder.

    Step 5: Now Windows will create an undeletable, unrenamable & inaccessible folder in the drive you entered in Step 3. However, the folder can be renamed to another keyword using Windows Explorer.


    Post You May Like: [Tool] Who Is The Owner Of A Blogger Blog/Website?


    Deleting the Folder
    Although, it is not possible to delete the folder using Windows GUI, you can delete the folder by typing

    rd con\


    (where, con\  is the keyword used for folder name)

    Windows Compatibility: Windows XP and higher versions.

    Try it yourself to create one such folder which can neither be deleted, accessed nor be renamed & share your experience in the comments.

    No comments:

    Post a Comment