This is the mail archive of the
mailing list for the Cygwin project.
Re: lauching a perl script from a .bat
- From: Randall R Schulz <rrschulz at cris dot com>
- To: Marko Loparic <marko_loparic at yahoo dot com>, cygwin at cygwin dot com
- Date: Mon, 22 Jul 2002 10:53:44 -0700
- Subject: Re: lauching a perl script from a .bat
At 10:24 2002-07-22, Marko Loparic wrote:
I have developed a perl script to a remote user who
runs Windows. I would like to make an easy
cd for him and to allow him to launch to script using
a .bat file. I have two basic questions.
1) The perl script uses cygwin names like /cygdrive,
so I can't launch perl directly from a .bat file. I
suppose I have to launch cygwin's bash passing the
script as an argument. How do I do this?
BASH per se doesn't offer a solution to this issue--it knows only the Unix
cocoon of Cygwin.
Use the Cygwin installer ("Setup.exe" --
<http://www.cygwin.com/setup.exe>)--it handles setting up the registry
entries used by the Cygwin "kernel" (i.e., Cygwin1.dll).
2) I would like to insert a basic cygwin installation
in the cd. It seems that zipping c:\cygwin and
unzipping it in his computer works. Is this a safe
Download the packages you wish to install (use a mirroring tool such as
wget, FTP Voyager or the Cygwin Setup.exe installer in "Download from
Internet" mode) and burn the resulting files onto the CD you'll use to
perform the installations.
Thank you very much in advance!
I hope it helps.
Mountain View, CA USA
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html