Help deleting a folder with a space at the end of the name

S

SR

A user of mine that is using a web based "windows Explorer" interface has
created a folder on my windows 2000 server (NTFS) with a space at the end
of the folder name (ex: c:\folder^), where ^ represents the space. I can not
delete this folder after trying about a million methods. When I try deleting
the folder I get the message "Cannot delete file: Cannot read from the
source file or disk"

Any help would be greatly appreciated.

Sol.
 
J

Jerold Schulman

A user of mine that is using a web based "windows Explorer" interface has
created a folder on my windows 2000 server (NTFS) with a space at the end
of the folder name (ex: c:\folder^), where ^ represents the space. I can not
delete this folder after trying about a million methods. When I try deleting
the folder I get the message "Cannot delete file: Cannot read from the
source file or disk"

Any help would be greatly appreciated.

Sol.
Try:
del "\\.\c:\someplace "



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

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