G
Guest
Creating a folder name that ends in multiple period(s) using mkdir at the
command prompt will result in a directory that is not accessible.
Below is the behavior I have observed in Windows:
- Windows Explorer will not allow the following characters to be used in a
file/folder name: \/:*?"<>|
- Windows Explorer will truncate all trailing periods if specified in a
file/folder name.
For example, naming a folder "testfolder..." results in a folder named
"testfolder"
- Windows Command Prompt (mkdir) will also truncate all trailing periods if
specified in a folder name, unless a trailing "\" is specified. In that case,
the folder is created, but it cannot be accessed!
The folder is created with a name that has the last ".\" dropped. For example,
'mkdir testfolder...\' will result in a folder named "testfolder.."
- Attempting to open with Windows Explorer will result in:
"C:\tmp\testfolder.. refers
to a location that is unavailable. It could be on a hard drive on this
computer or on a network. Check to make sure that disk is properly inserted,
or that you are connected to the Internet or your network, and then try again.
If it still cannot be located, the information might have been moved to a
different location."
- Attempting to change directory into the folder in the Command Prompt will
result in:
"The system cannot find the path specified."
- Attempting to delete the folder using Windows Explorer will result in:
Error dialog title: "Error Deleting File or Folder"
Error dialog message: "Cannot delete file: Cannot read from the source file
or disk."
- Attempting to delete the folder using rmdir on the Command Prompt will
result in:
"The system cannot find the path specified."
Is there any way within Windows that I can remove this folder?
Is this a known bug? I have searched all over looking for any mention of
this type of issue, but I have not found anything.
Is there a another discussion group I should post this to?
Thanks in advance,
Brad
Replicated on:
Windows XP Professional Version 2002
Windows Server 2000 Terminal Server
command prompt will result in a directory that is not accessible.
Below is the behavior I have observed in Windows:
- Windows Explorer will not allow the following characters to be used in a
file/folder name: \/:*?"<>|
- Windows Explorer will truncate all trailing periods if specified in a
file/folder name.
For example, naming a folder "testfolder..." results in a folder named
"testfolder"
- Windows Command Prompt (mkdir) will also truncate all trailing periods if
specified in a folder name, unless a trailing "\" is specified. In that case,
the folder is created, but it cannot be accessed!
The folder is created with a name that has the last ".\" dropped. For example,
'mkdir testfolder...\' will result in a folder named "testfolder.."
- Attempting to open with Windows Explorer will result in:
"C:\tmp\testfolder.. refers
to a location that is unavailable. It could be on a hard drive on this
computer or on a network. Check to make sure that disk is properly inserted,
or that you are connected to the Internet or your network, and then try again.
If it still cannot be located, the information might have been moved to a
different location."
- Attempting to change directory into the folder in the Command Prompt will
result in:
"The system cannot find the path specified."
- Attempting to delete the folder using Windows Explorer will result in:
Error dialog title: "Error Deleting File or Folder"
Error dialog message: "Cannot delete file: Cannot read from the source file
or disk."
- Attempting to delete the folder using rmdir on the Command Prompt will
result in:
"The system cannot find the path specified."
Is there any way within Windows that I can remove this folder?
Is this a known bug? I have searched all over looking for any mention of
this type of issue, but I have not found anything.
Is there a another discussion group I should post this to?
Thanks in advance,
Brad
Replicated on:
Windows XP Professional Version 2002
Windows Server 2000 Terminal Server