delorie.com/archives/browse.cgi | search |
On Fri, Jun 02, 2000 at 12:30:31PM -0500, Parker, Ron wrote: >> > > 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? Yes. You use the mount command that was mentioned previously in this thread. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |