Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to delete a folder? (a "weird" folder)

Feb
64
1
It's not a easy as it sounds - and it's definitely not a TCC issue. I just don't know what it is - and I hope some of you gurus might have an idea ;)

In short: I have an empty folder which I can't get rid of.

Long version:
dir a*.*

Datenträger in Laufwerk C ist OS
Verzeichnis von C:\Git\Selenium\Drivers\a*.*

13.05.2020 14:58 <DIR> aux
0 Bytes in 0 Dateien und 1 Verzeichnis

dir aux\*.* /s

Datenträger in Laufwerk C ist OS
Verzeichnis von C:\Git\Selenium\Drivers\aux\*.*

13.05.2020 14:58 <DIR> .
13.05.2020 14:58 <DIR> ..
0 Bytes in 0 Dateien und 2 Verzeichnisse

Gesamt für: C:\Git\Selenium\Drivers\aux\
0 Bytes in 0 Dateien und 2 Verzeichnisse 0 Bytes belegt

rmdir aux
TCC: (Sys) Das System kann die angegebene Datei nicht finden.
"C:\Git\Selenium\Drivers\aux"
(System can not find this file)

rmdir aux /S
TCC: (Sys) Der Verzeichnisname ist ungültig.
"C:\Git\Selenium\Drivers\aux"
(Invalid directory name)

Trying to delete the folder in explorer gives a msg about it not being found in its home-folder:
28-05-_2020_16-38-47.png


I even ran scandisk and it did not find any issues.

How can I sort out this problem and get rid of this folder?
 
That's a reserved filename since MS-DOS. Since version 1, I think. How did you manage to create it in the first place?

You might be able to rename or remove it using the \\.\ prefix. Or it might be necessary to boot another operating system, like Linux.
 
Aaaah, that explains it! I don't recall exactly how I created it - but hopefully with your suggestions will be able to fix it. Thanks!!

Update: the previous filemgr I was using was able to remove the folder. And it also had no problem creating it, so I guess that's how I did it ;) (And that might explain why the tool is "previoujs" filemgr ;))
 
Back
Top
[FOX] Ultimate Translator
Translate