Saturday 15 November 2014

how to create undeletable and unrenewable folder in windows 7

Leave a Comment
Creating a folder named "con" manually is next to impossible.
In MS-DOS, several special “device files” were available to aid in performing certain tasks, such as clearing the screen or deleting extraneous output from a program. In order to maintain backwards-compatibility, all versions of Windows up to and including Windows 7 will refuse to allow you to create a file with these “reserved” device file names.

PRN AUX NUL COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 LPT1 LPT2 LPT3 LPT4 LPT5 LPT6 LPT7 LPT8 LPT9

If you try creating a folder with any of these names, the name automatically changes back to the default “New Folder”. And this is what has caused the confusion. Instead of automatically renaming the folder, had an explanatory warning message popped up.

undeletable and unrenewable folder in windows 7


How To Create Undeletable And Unrenamable Folders ?

STEP 1:-Go to Start and then Click on Run
STEP 2:-Type cmd & hit enter (To open Command Prompt ).

REMEMBER :- you cannot create Undeletable & unrenamable folder in your root directory (i.e. where the windows is installed) That means you can't make this kind of folder in C: drive if you installed windows on C:

STEP 3:-Type D: or E: and hit enter
STEP 4:-Type md con\ and hit enter (md - make directory)

You may use other words such as aux, lpt1, lpt2, lpt3 up to lpt9 instead of con in above step.
Open that directory, you will see the folder created of name con.
Try to delete that folder or rename that folder windows will show the error message.

NOTE:-
It is not possible to delete that folder manually but you can delete this folder by another way mentioned below.
STEP 1:-Open Command Prompt
STEP 2:-Type D: ( if u created this type of folder in D: drive) & hit enter
STEP 3:-Type rd con\ (rd - remove directory)

Open that directory and the folder will not appear because it is removed.
that's now you can create a undeletable and unrenewable folder in windows 7.

0 comments:

Post a Comment