delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/10/06:11:57

Date: Wed, 10 Feb 1999 13:10:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Holger Wahlen <H DOT Wahlen AT fz-juelich DOT de>
cc: DJGPP mailing list <djgpp AT delorie DOT com>
Subject: Re: Running batch files under bash
In-Reply-To: <Pine.GSO.3.95.990209115802.22845A-100000@hlrz18>
Message-ID: <Pine.SUN.3.91.990210130953.15037C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 9 Feb 1999, Holger Wahlen wrote:

> By the way, what exactly is one supposed to do with the
> rundos.sh script that's included in bsh1147b.zip?

This script is for those DOS/Windows programs which don't understand
forward slashes, and it also undoes the effect of the SYSROOT
variable, so that the pathnames passed to DOS programs are complete
and correct.

> I've looked
> at it and seen what it does, but I haven't found any hint how
> to use it: do I always have to type "rundos foo" explicitly

Yes, you are supposed to say "rundos foo arguments..."

> or can I also tell bash somehow, for example, to call it
> automatically for .bat and .com files?

I cannot think of an automatic solution, but you could use aliases to
do that for specific programs.

- Raw text -


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