How to get rid of a ghost folder

  • Thread starter Thread starter P. Henninger
  • Start date Start date
P

P. Henninger

On our Windows 2000 server I found a directory called "4.6", which I
cannot delete or rename.

Windows says that this folder cannot be found. I can also create a new
folder with the same name "4.6" in the same folder where the first
"4.6" folder is.

I have full rights to this folder, I also tried CHKDSK, but it did not
find any erros.

How can I delete this ghost folder ?

Thanks,

Steven
 
I believe I have the same problem. In my case, the
directory was created by an application and the name has a
trailing blank. Use cmd.exe then dir a 'dir /w' in the
directory containing the ghost directory. I see a trailing
blank before the closing ].

I was able to delete the ghost directory in "packages" by:

1. Save other stuff in dir containing ghost ("packages")
2. "cd .." - 2 levels up from ghost, see packages\ghost
2. "rd packages /s" - delete dir containing ghost

Bruce
 
P. Henninger said:
On our Windows 2000 server I found a directory called "4.6", which I
cannot delete or rename.
Windows says that this folder cannot be found. I can also create a new
folder with the same name "4.6" in the same folder where the first
"4.6" folder is.

Run cmd.exe and navigate to the parent or the problem folder. Use the
command "dir /x" to find the DOS-compatible name of the folder. Then use
that name with the RD command.
 
Gary Smith said:
Run cmd.exe and navigate to the parent or the problem folder. Use the
command "dir /x" to find the DOS-compatible name of the folder. Then use
that name with the RD command.

Problem solved.

Thanks.
 
I have had a folder called 'inn.' (no-quotes but had the trailing period) on my desktop for almost two years now and no-one has been able to tell me how to remove it

It would say (cannot read from source disk) when I tried to rename it or delete it

This worked
"rd packages /s" - delete dir containing ghos

Thank you very much!
 
Back
Top