Is it possible to create a folder anywhere on the system with a blank name?
|
feedback
|
|
You can not have a folder with no name. It is not possible. The name is required. Without the name a folder cannot exist. | |||||||||||||
feedback
|
|
Under some operating systems you can create folders/files that aren't normally visible - not exactly what you asked, but a similar effect. For example, under Unix/Linux, a file or folder name beginning with a . does not show up in a normal directory listing. Perfectly visible if you use ls -a. | |||
feedback
|
|
Folders are referenced with their name. Not only must it be of length > 0 it must also be unique in the folder where it is located. | ||||
|
feedback
|
|
Depending on your OS you probably can't directly create a folder with no name, but you might be able to create a folder with a "blank" name. That is to say a name consisting of spaces or, if the OS supports Unicode, other fancy spacing or invisible characters. But just because your OS doesn't support blank folder names does not mean your filesystem doesn't. Some nasty tools may permit directly altering the filesystem, side stepping the OS. So it's conceivable that you could change the length of an existing folder's name to zero. It's also possible that some filesystems are smart enough to treat this an an error. Anyway you don't really want to do this even if it is technically possible (-: | |||
|
feedback
|