On Wed, Mar 7, 2012 at 5:57 PM, Mark Gillespie <mark.gilles...@gmail.com> wrote:
> What we have, is a FreeDOS bootCD for "ghost" imaging hardware, and we have
> a DOS application (written in Watcom) that prompts the user for some
> information. Now the problem was when we wrote this, that there was no way
> to store any data to pass it back to the calling batch file.
Is this all the DOS Watcom application does? Just ask for some basic
info to pass back to the caller (to run as parameters to the ghosting
> We had a clumsy turbodisk memory partition (there is no writable storage on
> our system when running under FreeDOS), so we write a batch file in that
> partition with the environment variables we need, and then the calling
> script executes than batch file on exit to "pickup" those set environment
> Sounds clumsy? It is.... However it's worked for years no problems.
> Anyway, updated to latest FreeDOS and this no longer works. The turbodisk
> is getting created fine, it's being formatted, and we can find it's drive
> letter correctly using the find utility.
> Did something change?
What does "ver /r" say? I almost suspect that you're accidentally
using 4DOS and tripping over something minor. I think Bernd starting
(optionally?) using that, and it's not always obvious. I don't think
FreeCOM's binary has literally changed at all (except for some SVN
> Is there any easier way to achieve what we need? (unfortunately, we can't
> use something simple like exit codes.... We have several bits of data to
It's very hard to understand exactly what's going on, so this may
sound like a bad idea, BUT a very blind guess at "easier way" would be
REXX (e.g. Regina):
In case you didn't know, it's basically a glue / macro / batch
language (originally for IBM mainframes) but really portable and easy
to use. Let's face it, DOS .BAT is almost useless. However, it's
unlikely you'll migrate to REXX just for this, so I'm not that naive,
but indeed, IMHO it probably could help you.
Here's a brief overview if curious:
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
Freedos-user mailing list