Computing.Net > Forums > Windows NT > How to delete a directory named COM1 :

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to delete a directory named COM1 :

Reply to Message Icon

Name: Sébastien Croteau
Date: September 6, 2001 at 08:40:55 Pacific
Comment:

Hi,

I'll like to know how to delete two directory named COM1 : and COM2 :

A hacker put them via FTP



Sponsored Link
Ads by Google

Response Number 1
Name: Jesse
Date: September 7, 2001 at 10:43:31 Pacific
Reply:

If you don't know how then the process would take too long to convey. It would be better and safer for you to backup your files immediatly and reinstall your operating system. Be sure to install security software as soon as you get it back up again. Do as much of this as possible without being connected to the network as the hacker may instantly hack you once you're back up.


0

Response Number 2
Name: Tom
Date: October 15, 2001 at 07:14:03 Pacific
Reply:

Same thing happened to me. Damn Taggers!
Close the door, ie. lock up FTP, then go to:
http://support.microsoft.com/support/kb/articles/Q120/7/16.ASP


0

Response Number 3
Name: David Jepson
Date: October 29, 2001 at 10:06:18 Pacific
Reply:

The suggestion above worked for me. I had the same problem..


0

Response Number 4
Name: Kennex
Date: December 10, 2001 at 20:05:57 Pacific
Reply:

The suggestion above didn't work for me because I could't find the rm.exe file. Can any one suggest any other methods?


0

Response Number 5
Name: nutz
Date: December 11, 2001 at 23:46:00 Pacific
Reply:

try to replace "com?" with "com?~1".
ie.
cd com1~1
rd com1~1

it's work for me...
and i think you too.


0

Related Posts

See More



Response Number 6
Name: roy
Date: December 16, 2001 at 10:14:17 Pacific
Reply:

The way I did it:
put deltree somewhere on your HD, boot with a win98 cd, then deltree it all (one directory above com1. Reinstalling your OS will not help.


0

Response Number 7
Name: Nirgal
Date: January 27, 2002 at 18:40:44 Pacific
Reply:

With Windows 2000, I removed c:\inetpub\ftproot\incoming\com1\ that way:

C:\>del /s \\.\c:\inetpub\ftproot\incoming\com1
\\.\c:\inetpub\ftproot\incoming\com1\*, Are you sure (Y/N)? y
\\.\c:\inetpub\ftproot\incoming\com1\upped_by_blues\*, Are you sure (Y/N)? y

C:\>rd /s \\.\c:\inetpub\ftproot\incoming\com1
\\.\c:\inetpub\ftproot\incoming\com1, Are you sure (Y/N)? y


http://support.microsoft.com/default.aspx?scid=kb;EN-US;q120716 explains how it works (use of a syntax that bypasses the normal reserve-word checks altogether)


0

Response Number 8
Name: JH
Date: January 31, 2002 at 06:56:13 Pacific
Reply:

Response #7 worked like a charm in NT as well:
del /s \\.\d:\inetpub\ftproot\ etc. etc.

Just preceed your directory with \\.\
Also works with RMDIR /S

Allows Windoze to ignore invalid names... something that SHOULD happen anyway.


0

Response Number 9
Name: Raven
Date: February 1, 2002 at 00:41:51 Pacific
Reply:

Response #8 worked best with RMDIR /S \\.\c:\etc\etc

Thanks for the assistance!



0

Response Number 10
Name: Dobbin
Date: February 5, 2002 at 07:55:43 Pacific
Reply:

My problem is the [expletive deleted] somehow replaced the permissions on the files so I can't delete them, and if I try to change the access permissions the file system can't find the file or I get access denied. Catch 22. Anyone?


0

Response Number 11
Name: Rusty
Date: April 1, 2002 at 11:22:01 Pacific
Reply:

Login as Administrator, "Take Ownership" of the files/directories in question. Then follow "Response 2". I have been fighting this for 3 days. This solution does work with W2K server.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: How to delete a directory named COM1 :

How to delete a DLL www.computing.net/answers/windows-nt/how-to-delete-a-dll/20014.html

Not able to delete a direcory on NT www.computing.net/answers/windows-nt/not-able-to-delete-a-direcory-on-nt/11679.html

how to delete log file www.computing.net/answers/windows-nt/how-to-delete-log-file/15607.html