Mark Gillespie wrote on Wed, 7 Mar 2012 23:57:17

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

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

Have a look at the DOSUTILS package, especially the programs SELECT and 
FORM and possibly PIPESET but the other utlities in the archive might or 
might not be useful as well. You can download the most recent version of 
this package from here: http://www.bttr-software.de/products/jhoffmann/ 
(a somewhat older version can even be found on the FreeDOS distribution 
CD itself).

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