<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Raffaello.  That command ran a /long/ time but it worked.  And
for those interested here's some info on using the '\\.\' prefix to
inhibit DOS reserved words checks:<br>
<br>
<a class="moz-txt-link-freetext" href="http://support.microsoft.com/kb/315226">http://support.microsoft.com/kb/315226</a><br>
<br>
Pete<br>
<br>
Raffaello Giulietti wrote:
<blockquote cite="mid:4CC85E9A.7050706@gmail.com" type="cite">
  <pre wrap="">On 2010-10-27 18:20, Pete Brunet wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On WinXP I'm unable to delete an old OpenJDK directory because there are
a lot of files named NUL which Windows is not able to delete. 

I can delete them by renaming them one by one with 'ren
\\.\c:\full_path\nul xyz' but that would take a long time.  Is there a
command available in cygwin that will delete the directory?  Cygwin rm
also fails to delete files named NUL.

Pete
    </pre>
  </blockquote>
  <pre wrap=""><!---->
rd /S /Q \\.\C:\full_path_to_folder


Cheers
Raffaello
  </pre>
</blockquote>
</body>
</html>