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

  • Thread starter Thread starter SR
  • Start date Start date
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.
 
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
 
Back
Top