delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/28/23:28:41

From: reiter AT netspace DOT net DOT au (Peter Moulder)
Subject: Re: Running shell-scripts from NT GUI?
28 Nov 1998 23:28:41 -0800 :
Message-ID: <m2vhjz8lvt.fsf.cygnus.gnu-win32@forest.nuthouse.au>
References: <6DA86DEBF68AD1119B1C00A0C94D2306CDB43F AT hopper DOT logica DOT co DOT uk>
To: "'homann AT homann DOT se'" <homann AT homann DOT se>,
"'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

"Fieldhouse, Dirk" <Fieldhouse AT logica DOT com> writes:

> Magnus Homann (homann AT homann DOT se) wrote:
> 
> > I just got an NT machine at work, and I want to continue writing some nice
> > shell scripts. /bin/sh is adequate, especially with some awk and sed
> > thrown in.
> > 
> > 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... 

The simplest way is to create a new shortcut (using NT Explorer or
whatever), and make it run `sh myscript.sh'.

(I haven't tried this, but I can't think why it wouldn't work unless
your default path doesn't include sh's location, in which case you
just need to specify a full path of sh, in DOS notation of course.)

pjm.
-
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 -


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