RE: Help required - deleting directory 'R.E.M.' from my hard drive?
From: Kevin Allen [MSFT] (kevina_at_online.microsoft.com)
Date: 02/26/04
- Next message: JUERGEN: "SYSTEM 32 FOLDER POPUP"
- Previous message: DanaK: "Mirror sets"
- In reply to: MikeD: "Help required - deleting directory 'R.E.M.' from my hard drive?"
- Next in thread: BallyHigh: "Re: Help required - deleting directory 'R.E.M.' from my hard drive?"
- Reply: BallyHigh: "Re: Help required - deleting directory 'R.E.M.' from my hard drive?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 17:48:14 GMT
Hello!
There's a good article on Windows file naming conventions here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base
/naming_a_file.asp
Amongst other things this documents the \\?\ syntax for specifying file
names. This is not supported by all applications, but RD (remove directory
command) seems to. A useful feature of this syntax is that it asks the
system to process the pathname with minimal modification. Windows does not
support filenames ending in a period (as also mentioned in the MSDN
article) and therefore Windows is removing the trailing period before
trying to delete the directory. Using the \\?\ syntax tells Windows not to
do this, and should cure your problem.
Try this:
RD "\\?\C:\music\R.E.M."
Hope this helps,
Kevin Allen [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: JUERGEN: "SYSTEM 32 FOLDER POPUP"
- Previous message: DanaK: "Mirror sets"
- In reply to: MikeD: "Help required - deleting directory 'R.E.M.' from my hard drive?"
- Next in thread: BallyHigh: "Re: Help required - deleting directory 'R.E.M.' from my hard drive?"
- Reply: BallyHigh: "Re: Help required - deleting directory 'R.E.M.' from my hard drive?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|