| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-Id: | <5.1.0.14.2.20020722104727.02b7abd8@pop3.cris.com> |
| X-Sender: | rrschulz AT pop3 DOT cris DOT com |
| Date: | Mon, 22 Jul 2002 10:53:44 -0700 |
| To: | Marko Loparic <marko_loparic AT yahoo DOT com>, cygwin AT cygwin DOT com |
| From: | Randall R Schulz <rrschulz AT cris DOT com> |
| Subject: | Re: lauching a perl script from a .bat |
| In-Reply-To: | <20020722172447.65884.qmail@web12903.mail.yahoo.com> |
| Mime-Version: | 1.0 |
Marko,
At 10:24 2002-07-22, Marko Loparic wrote:
>Hello,
>
>I have developed a perl script to a remote user who
>runs Windows. I would like to make an easy
>installation
>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?
man cygpath
BASH per se doesn't offer a solution to this issue--it knows only the Unix
cocoon of Cygwin.
>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
>solution?
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).
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!
>Marko
I hope it helps.
Randall Schulz
Mountain View, CA USA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |