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:
http://support.microsoft.com/kb/315226 Pete 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 >
