Deleting an unnamed folder

scurfie
scurfie used Ask the Experts™
on
We have a Windows 2000 server that was hacked into via FTP.  We now have an unnamed folder containing a series of folders.  These contain files that Windows doesn't recognize but take up most of the C drive space.  I have not be able to delete these files.  Anyone have an idea other than reformating the drive?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2007

Commented:
Top Expert 2007

Commented:
Whoops

 switch to the directory and typed -- RD /S

I hope this helps !
Top Expert 2007

Commented:
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Commented:
A simpler method involves the use of the SHORT FILE NAME:

1) Open a CMD window.
2) CD to the folder containing this mess
3) Type: DIR /X
4) Note the SHORT FILE NAME.
5) Type DEL or RD using the SHORT FILE NAME.

Note that the folder may NOT be empty so you may have to CD into it using the SHORT FILE NAME and delete anything inside first.

Commented:
Or, you could rename it based on the short file name you discovered with jhance's instructions:

5a) Type REN <SHORT FILE NAME> <YOUR NEW NAME>

Then go into Explorer and delete it from there, since it will now have a name that should be recognized.  This will save the time of CDing into each directory to ensure it's empty.

Author

Commented:
It was a combination of all the responces to my question that helped in solving my issue but jhance's tip to find the shortened file name just blew us all away!  I don't know now whether to share this info or not....

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial