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

Raffaello Giulietti raffaello.giulietti at
Wed Oct 27 17:22:09 UTC 2010

... oops, I forgot to mention that this is a pure command-line Windows
solution, not a Cygwin command.

On 2010-10-27 19:17, 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

More information about the build-dev mailing list