Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Deleting folder with invalid name

Deleting folder with invalid name

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Deleting folder with invalid name

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.file_system (More info?)

 

How do I delete a folder with a name like com2 or lpt3? Explorer won't
delete it and I can't delete it with the command line either.

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.file_system (More info?)

 

See:
http://support.microsoft.com/defau [...] ct=win2000


hth
DDS W 2k MVP MCSE

"Buddy Ackerman" <buddy_nospam@buddyackerman.com> wrote in message
news:el4k2DBSEHA.3056@TK2MSFTNGP11.phx.gbl...
> How do I delete a folder with a name like com2 or lpt3? Explorer won't
> delete it and I can't delete it with the command line either.
>
>
>
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.file_system (More info?)

 

Buddy

See if this MS Knowledge Base article can help you:

http://support.microsoft.com/?id=120716

Best regards

Bjorn
--
Bjorn Landemoo - mvp2@landemoo.com - http://landemoo.com/
Microsoft MVP - Windows Server Networking

"Buddy Ackerman" <buddy_nospam@buddyackerman.com> wrote:

>How do I delete a folder with a name like com2 or lpt3? Explorer won't
>delete it and I can't delete it with the command line either.
>
>
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.file_system (More info?)

 

I'm having the same problem, we got hit with hacker defender and this version creates a folder structure that starts with com1/....

I was able to rename the top level folder from the insanely long name the trojan created so I could deal with the problem a little more easily.

I found the info in KB article 120716 and was able to use the Posix tools to remove MOST of the files, however one file remains deep in the directory structure I now have one file left - c:\123\com1\ioFTPD\tool\hxdefdrv.sys, nothing else listed in the KB article helped. The SFN for this directory is also com1

The security on this file has been modified so that no matter what I try I cannot delete it or the rest of the directory tree. So far I've tried cacls, Xcacls, takeown, and several of the Posix tools: mv, rm, chown, and chmod - all with no luck.

This is on one of our production web servers, so I'm trying to avoid the backup/rebuild/restore solution if at all possible.

Can anyone give me a suggestion on anything else to try, or some tool (preferrably free) that might be able to delete these files?

"Buddy Ackerman" wrote:

> How do I delete a folder with a name like com2 or lpt3? Explorer won't
> delete it and I can't delete it with the command line either.
>
>
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Deleting folder with invalid name
Go to:

There are 1418 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them