Can't delete an old OpenJDK directory because of NUL files

Pete Brunet peter.brunet at
Wed Oct 27 18:41:25 UTC 2010

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:


Raffaello Giulietti wrote:
> On 2010-10-27 18:20, Pete Brunet wrote:
>> 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
> rd /S /Q \\.\C:\full_path_to_folder
> Cheers
> Raffaello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the build-dev mailing list