Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FTP Site TAGGED - Cant delete directories -HELP!

Posted on 2004-10-04
5
Medium Priority
?
379 Views
Last Modified: 2012-08-13
Over the weekend my ftp server was tagged by some warez group.
I now have a directory structure that I can't seem to delete.
I'm running XP Pro with NTFS and I have run scan disk etc.
I've taken ownership of the directory structure and all sub directories by going to the top directory and applying permissions there because I cant apply permissions directly to any subdirectories they put there....they dont have a security tab (just general and customize tab)

When I try to delete a sub folder such as lpt2, it says "Cannot Delete lpt2 : Cannot find the specified path. Make sure you specify the correct path."
I found that "lpt1" etc is a windows system file name and windows won't let you delete it ( I think). so thats another problem.
Also If I try to delete other folders in the structure it says "Cannot Delete lpt1 : The parameter is incorrect"

Any suggestions would be appreciated (can it be done while in windows?)
0
Comment
Question by:Matrix1000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 12219969
See http://support.microsoft.com/default.aspx?scid=kb;en-us;315226 ("How to Remove Files with Reserved Names in Windows XP"). The scoop is:

If the file was created on a file allocation table (FAT) partition, you may be able to delete the file under MS-DOS by using standard command line utilities (such as DEL) with wildcard (*) characters, for example:
DEL PR?.*

-or-

DEL LPT?.*

These commands do not work on an NTFS file system partition. For this case another option would be to use a syntax that bypasses the normal reserved-word checks altogether. You may be able to delete any file by using a command like this:
DEL \\.\drive letter:\path\file name

For example:
DEL \\.\c:\somedir\aux

If the name in the file system appears as a directory, you may be able to delete any directory by using a command like this:
RD \\.\drive letter:\path\directory name

For example:
RD \\.\c:\somedir\aux

0
 
LVL 1

Author Comment

by:Matrix1000
ID: 12221868
K this is fun... but they seem to have used the lpt1 trick so I can't delete.

I tried..
X:\>RD \\.\C:\ftproot\F 4959 \lpt3 \com2 \com1 \aux0 \aux0 \null \ \lpt3 \com3
 \lpt1 \aux0 \com1 \com1 \ \lpt1 \ \lpt1 \aux \com3 \com3 \com2 \lpt2
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The directory name is invalid.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The process cannot access the file because it is being used by another process
The system cannot find the file specified.
The system cannot find the file specified.
The process cannot access the file because it is being used by another process
The parameter is incorrect.
The system cannot find the file specified.
The directory name is invalid.
The directory name is invalid.
The process cannot access the file because it is being used by another process
The parameter is incorrect.
The process cannot access the file because it is being used by another process
The parameter is incorrect.
The directory name is invalid.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.

:\
0
 
LVL 86

Expert Comment

by:jkr
ID: 12221896
>>:\>RD \\.\C:\ftproot\F 4959 \lpt3

If the path contains spaces, you need to use

RD "\\.\C:\ftproot\F 4959 \lpt3"
0
 
LVL 1

Author Comment

by:Matrix1000
ID: 12222416
Hmm that worked for one directory structure but not for this one...

C:\ftproot>RD "\\.\C:\ftproot\scanned \by \JDX \tagged \by \Nibbler \uploads for \TGF \uppedBy \Nibbler\(c) Copyright - Taggerboy 2002 "
The system cannot find the file specified.
0
 
LVL 1

Author Comment

by:Matrix1000
ID: 12222788
nevermind...I forgot the trailing slash like

C:\ftproot>RD "\\.\C:\ftproot\scanned \by \JDX \tagged \by \Nibbler \uploads for
 \TGF \uppedBy \Nibbler\(c) Copyright - Taggerboy 2002 \ "

Thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question