RE: Help required - deleting directory 'R.E.M.' from my hard drive?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Kevin Allen [MSFT] (kevina_at_online.microsoft.com)
Date: 02/26/04


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.



Relevant Pages

  • Re: Syntax coloring in Python interpreter
    ... which colorizes Ruby syntax on the fly. ... Windows console. ... support when I last looked. ...
    (comp.lang.python)
  • Re: Syntax coloring in Python interpreter
    ... which colorizes Ruby syntax on the fly. ... Windows console. ... support when I last looked. ...
    (comp.lang.python)
  • Re: Problem with slower startup of XP windows SP3
    ... Help and Support for details. ... The Panda Anti-virus Service has started successfully. ... The Windows Security Center Service has started. ... The local computer may not have the necessary registry information or message ...
    (microsoft.public.windowsxp.general)
  • Re: Problem with slower startup of XP windows SP3
    ... Event Viewer reports renders interpretation infinitely more difficult. ... see Help and Support Center at ... "Event Viewer in windows: ... Log on as an user with administrative rights and open Internet Explorer ...
    (microsoft.public.windowsxp.general)
  • Re: SP3 potential problem
    ... Where did you download the ATI drivers from? ... Select Start, Help and Support, Keep your Windows up- to-date with Windows Update, Review your Update History you can see the update. ... I have not been able to download Net Framework ...
    (microsoft.public.windowsxp.basics)