Normally you can't make a folder with /\:*<>"?
in its name. and also you can't name a folder CON
,LPT1
and .... and also you can't have two folder with equal name in a single directory.
I THINK I found a way to break all the above rules!
You just need to build a New String
in the below path of registry :
HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache
And name it @WhatEverYouWant
(For example @x
). Then set its value the name that you want to have for your directory! (For example CON
,LPT1
,\/?:*<>|
and so on).
Then close the registry and create a new folder. it name the @x
(The name that you selected for the string before) and hit enter. the name automatically change to the value of the string that you already created in Registy.
If you create a new folder again in the same path and set its name to @x
again, you will have the second folder with the same name!
The above way works fine in Windows XP. I want to know if this is a bug or it is a feature? And what is the equivalent way in Windows-7?
Update:
This is output of dir
command (When I was created just two con
folder on desktop) :
CD
to one of directories you have created and post a screenshot or the output ofDIR
commandDIR
command, they have shown asNew Folder
,New folder - Copy
,New folder - Copy (2)
and so on!