delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/15/04:44:46.1

From: jj AT digisle DOT net (JJ Streicher-Bremer)
Subject: Re: Running shell-scripts from NT GUI?
15 Nov 1998 04:44:46 -0800 :
Message-ID: <364E7DC3.3DC777E4.cygnus.gnu-win32@digisle.net>
References: <Pine DOT LNX DOT 3 DOT 96 DOT 981114191937 DOT 1562A-100000 AT crux>
Mime-Version: 1.0
To: Magnus Homann <homann AT homann DOT se>
Cc: gnu-win32 AT cygnus DOT com

You could do a couple of different things.  One is to create separate
..lnk files for each shell script you would like to run.  In the
properties of these links you would put the path to the shell with the
script as a command line parameter to the shell (e.g.
d:\apps\cygwin\usr\bin\sh.exe /scripts/myscript) or you could tack on a
file extension (yech) and associate that extension with the shell.


JJ
 

Magnus Homann wrote:
> 
> Hello!
> 
> 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...
> 
> Any ideas out there?
> 
>           Magnus Homann              homann AT homann DOT se
>           Homann Internetteknik      http://www.homann.se
> 
>                 - I make information available -
> 
> -
> 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".
-
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