Cannot Delete Files

M

Matthew Jaggard

I cannot delete files from my computer that were put there
by an FTP server. They are called things
like "com1", "lpt1" and "nul", etc.

Using cygwin doesn't help, and it's NTFS so I can't try an
older version of DOS.

"Cannot delete lpt2: Cannot find the specified file."

Any suggestions?
(By e-mail as well as newsgroup if possible please)

(e-mail address removed)

Mat.
 
G

Guest

From a command prompt try;
del \\.\Drive:\directory\filename
(Note: the period between \\ and \)

Changing del to rmdir and deleting the whole tree by hand
seemed to work.
Also

dir /x
and try deleting them using their 8.3 short names.

and this did the rest of them.

Thanks,
Mat.
 
G

Guest

The second suggestion, changing DEL to RD to remove the
entire tree worked best. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top