This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: What kind of executable is zcat? Crashes from cmd.exe
- From: jamshid at io dot com
- To: cygwin at cygwin dot com
- Date: Fri, 13 Feb 2004 17:27:39 -0600 (CST)
- Subject: RE: What kind of executable is zcat? Crashes from cmd.exe
Larry Hall writes:
>Bakken, Luke writes:
>>$ ls -l zcat*
>>lrwxrwxrwx 1 lukeb Users 19 Sep 21 16:29 zcat.exe ->
>>gzip.exe
>>$ rm zcat.exe
>>$ ln gzip.exe zcat.exe
Thanks, Luke, now I can use zcat from the Windows command line.
>Sure, that's another option but one that eats up disk space if your
>partition isn't formatted for NTFS. Replacing "ln" with "ln -s" in your
>examples above will get you "Windows shortcuts" which you can use at the
>command prompt directly, so long as you don't mind typing ".lnk" at the
>end of each linked executable. This assumes you haven't added
>"nowinsymlinks" to your CYGWIN environment variable of course. This
>approach will save the disk space on non-NTFS partitions.
I really think it's worth a few bytes of disk space (even then only on
non-NTFS partitions) to have zcat work out of the box in the Windows
Command Prompt.
That definitely seems like a much better option to having zcat crash or
having to type "zcat.lnk", right? Should I file an enhancement request?
Thanks,
Jamshid
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/