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?


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.

HTH john

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