Mail Archives: cygwin/1998/11/15/03:07:04
---Magnus Homann <homann AT homann DOT se> wrote:
>
> Now, to make it easuer to run these scritps, I would like to make an
icon
> that, when activated, starts /bin/sh and runs a specific script. It
sounds
> really easy to do, but I don't know where to start. I've tried
reading the
> archive and the docs, but I don't really know what I'm looking for...
>
> Any ideas out there?
I have a couple of options.
Option1: Always name the script with a suffix like .sh and the
associate /bin/sh to .sh.
Option2: You have a UNIX script named myscript that you want Win32 to
run. Create a file called myscript.bat which contains:
c:\bin\sh -c /scripts/myscript
BTW: I prefer Option2.
==
- \\||//
-------------------o0O0--Earnie--0O0o-------------------
-- earnie_boyd AT yahoo DOT com --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -