We have been using FreeDOS on a project for many years, it's an old
release, but it did the trick as they say.

However we have been forced to update due to some other weirdness, and as a
result, it's broken a particular bit of functionality that our batch
scripts rely on.  I hoping there is an easier way to do things, or a simple
fix.

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.

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

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?

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
return)

Many Thanks.
------------------------------------------------------------------------------
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.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to