1

On my Windows Vista desktop is a folder I downloaded from an FTP server with FileZilla. I tried to delete it, and most of it went (all the files, and most of the subfolders), but a subfolder named con stubbornly remains. Trying to delete it again results in nothing: no error messages, no prompt for permissions, simply nothing happens.

How can I get rid of this folder?

Desktop/a/b/c/d/con. Trying to delete folder b.

Also, if con is a reserved name, how did FileZilla manage to create it in the first place?

2

2 Answers 2

7

con and other DOS device names are reserved only in the Win32 namespace, not in Windows or the filesystem themselves. Even in Win32, all file name parsing can be disabled by programs when the \\?\ prefix is added.

Running the following in Command Prompt should remove your folder:

rmdir \\?\C:\Users\TRiG\Desktop\a\b\c\d\con
0

Below command should work. Just replace with the whatever file path you have.

rd \.\a\b\c\d\con

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .