Re: [ILUG] DOS EMU

From: Conor Daly (conor.daly at domain met.ie)
Date: Fri 03 Aug 2001 - 17:42:02 IST


On Fri, Aug 03, 2001 at 10:09:42AM +0100 or thereabouts, Declan Grady wrote:
> Hmmm.. thats what I thought, so I made another batch file and put in those 2
> lines, exactly as they work at the command line, but still fails !
>
> Im stumped.
>
> Declan
> [NODIS]
>
> ----- Original Message -----
> From: "Glen Gray"
> Sent: Tuesday, July 31, 2001 6:15 PM
> Subject: Re: [ILUG] DOS EMU
>
>
> > Not that I know what the hell LREDIR is but is it dependant on any other
> > programs being run first environment VARs being set ??
> >
> > i.e They are failing in autoexec.bat because they are be dependant on
> > something else that hasn't happened. But when you you've finished
> > booting and you type the command, it's dependants are satisfied so it
> > runs without a hitch.

Two possibilities...

1. The seperate batch file fails when run from autoexec.bat but works if you
do it interactively (ie. run the batch file). Dunno what to do there except
possibly CALL the batch file at the end of autoexec.bat (I can't remember
what the difference between

BATCH.BAT

and

CALL BATCH.BAT

is but IIRC, there is one.

2. The DOS environment is different *inside* a batch to that at the
C: prompt. Do a SET in the batch and compare the output with SET at the C:
prompt and see if there is extra environment required, then add that
manually in the batch

Conor

-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064276 Fax +353 1 8064275
------------------------------------
  4:37pm  up 71 days,  3:39,  8 users,  load average: 2.00, 2.00, 2.00


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:28 GMT