delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/20/14:12:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 20 Apr 1999 15:10:49 -0400 (EDT)
From: Nancy this-address-is-valid McGough <nm AT NoAdsPlease DOT ii DOT com>
Subject: Re: precompiled perl?
In-reply-to: <371B5A79.8CCA72D7@exmachina.net>
To: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Cc: John Mullee <john AT exmachina DOT net>
Message-id: <Pine.WNT.4.10.9904201500430.-306119@aleph>
Organization: Infinite Ink - mirrored at www.ii.com and www.best.com/~ii/
MIME-version: 1.0
X-X-Sender: ii AT mail1 DOT new-york DOT net

On 19 Apr 1999, John Mullee <john AT exmachina DOT 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 AT ii DOT com>, Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>

But there is no such address as nm AT ii DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019