This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGWIN UNIX FILE PATH LEAVES FILES UNDELETABLE THROUGH WIN7


> After the deletions, only one directory and file were unable to be deleted,
> the file named " nul " in the directory " dev ".

This is well known (if you're an old timer - think cp/m, then DOS)  as
it's a reserved word. CON: NUL: LPT!: are all examples of this. The
solution is easy:

:: for files
del \\.\c:\cygwin\dev\nul
:: for dirs
rd \\.\c:\cygwin\dev\con

more info @ http://support.microsoft.com/kb/120716

cheers, Dave

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]