This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: precompiled perl?


On 19 Apr 1999, John Mullee <john@exmachina.net> wrote:
> Nancy McGough wrote:
> > Another Q: Is it possible to send a file to a Cygwin perl script from
> > within Windows Explorer. E.g., by right clicking and choosing Send To
> > and having the script be one of the Send To choices. Any pointers to
> > launching Cygwin stuff from within Windows would be great.
> Here's how:
> - create a dos batch file that takes filenames as parameters
> and runs your perl script on them.
> - create a 'windows shortcut'to this batchfile and place it
> in your windows user directory
> - your win/user dir on NT id:
> 	%SYSTEMDIR%\%USERNAME%\Sendto\
>   or c:\windows\Sendto on W95, or something like that.
> - the name of the shortcut will appear in the context menu.

I know how to do all this with normal bat and pif files but what I was
asking about (but didn't ask very clearly) is how do I create a DOS
batch file that calls a perl script that calls the Cygwin perl. Or a
simpler question that will help me to write the batch file is: How can
I run Cygwin scripts in a DOS box. I'm sorry if this is a really basic
question. Pointers to documentation about this kind of thing would be
great.

Thanks again,
Nancy

PS - John sent this message to:

 To: Nancy McGough <nm@ii.com>, Cygwin Mailing List <cygwin@sourceware.cygnus.com>

But there is no such address as nm@ii.com. The address in my From
header is valid.

-- 
ŠNancy McGough          http://www.ii.com          Infinite Ink
--= Sent via PINE: Power Internet News & Email for Win/Unix =--



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com