> > for %%d in (c d e f g h i j k l m n o p q r s t u v w x) do (
>
> for %%d in (c d e f g h i j k l m n o p q r s t u v w x) do call blah1.bat
>
> > if exist %%d:\mygame\ (
>
> if exist %%d:\mygame\ call blah2.bat
Yeah, that's pretty much where I was headed.
> Perhaps you could run a subshell (%comspec% /f /c blah.bat) for that.
> "/f" should auto-fail.
>
That could work.
> But usually you should (mostly) be able to know in advance what drive
> letters you are choosing, and save that info for later.
Having booted from a CD with an OS that probably can't read all his
partitions, we can't assume the user knows what the new drive letters are
going to be ahead of time. Wanting this process to be as transparent as
possible, while probing for a writeable partition I'll have to store
whatever information I can collect in the environment.
> Any installation program really needs to know three things:
> > -- Does a drive exist
>
> If all your active drives have known volume labels, you can use Eric's
> FINDDISK.
>
> > -- Is it writeable
>
> Dunno
REM > c:\filename was a way to probe this in MS-DOS, nbt sure about FreeDOS.
>
> -- How much free space is present.
>
> Eric's FREETEST.
Who is Eric and where can these utilities be obtained?
Thanks,
Bruce
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user