text / binary mounts (sorry)

Parker, Ron rdparker@butlermfg.com
Fri Jun 2 10:33:00 GMT 2000


> > > set CYGWIN=binmode causes even unmounted directories and 
> files to be
> > > accessed in binary mode.  You can set this in autoexec.bat 
> > for Win9x or in
> > > the System Control Panel applet for NT/2000.
> > > 
> > 
> > Are you sure of this, Ron?  AFAIK CYGWIN=binmode only affects 
> > the pipes and
> > redirection and not file I/O.  BTW CYGWIN=binmode is the default.
> 
> ITIWTW, I thought it worked that way, however a quick test 
> shows I am wrong.  I would have sworn CYGWIN=binmode used to 
> apply to all file opens.
> 
> Sorry for the confusion.
> 

So is there anyway to have 'echo Hello>//h/junk' produce a 6-byte file?



More information about the Cygwin mailing list