On Wed, 17 Mar 2004 14:21:52 +0100, Thorsten Kampe wrote: > * Martin Gainty (2004-03-17 12:59 +0100) >> I this solution works on windows > >> But how do we get .pl association with CYGWIN Perl? > > I already answered this question. Let me explain it more simply: it > can't be done with Cygwin; it has to be done in Windows. It won't > benefit you "in Cygwin" (except for "cygstart"). > > assoc /? > ftype /? > associate /?
And the really sick part is if you type ftype /? the help text says, among other things: " gets the 1st parameter, %3 the second, etc. %~n gets all the remaining parameters starting with the nth parameter, where n may be between 2 and 9, inclusive. For example: ASSOC .pl=PerlScript FTYPE PerlScript=perl.exe %1 %* would allow you to invoke a Perl script as follows: script.pl 1 2 3" I find it very funny that MS software is exampling one of the ultimate Open Source products! -- Matthew O. Persico -- 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/