What kind of executable is zcat? Crashes from cmd.exe

2004-02-12 Thread Jamshid Afshar
I just installed Cygwin. What kind of executable is zcat.exe? It doesn't show up when I "dir c:\cygwin\bin\zc*" (only zcmp), but I see it's 19 bytes in Explorer. It works fine within bash, but I want UNIX utilities I can use in the regular Windows Command Prompt. Thanks, J

Best way to associate .tar.gz with "tar -xzf"?

2003-02-05 Thread Jamshid Afshar
On Windows XP, I created a .tar.gz file type under Folder Options=>File Types tab. I then set the "Opens with" to a one-line batch file wintargz.bat: FOR %%F IN (%1) DO pushd %%~pF && tar -xvzf %%~nxF This allows double-clicking on a foo.tar.gz file to automatically cause it to be uncompressed