Bernd Blaauw wrote:
for %%x in ( D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if
Hmm, this is the kind of thing I'm trying to avoid! Is it not possible
for the RAMDISK program to set an environment variable instead of an
ErrorLevel?
so still pretty easy.
what are you trying to accomplish? interested in your use of DOS
programs :)
Well, as I understand it, SRDISK can actually set an Environment
variable on exit containing the letter of the assigned RAMDRIVE and this
cuts out the enumeration of ErrorLevels or Drive letters, so the batch
code would become even easier.
--
Gerry Hickman (London UK)
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user