Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-05 Thread Arkady V.Belousov
Hi! 4-Авг-2005 17:53 [EMAIL PROTECTED] (Bernd Blaauw) wrote to freedos-user@lists.sourceforge.net: BB> if not "%errorlevel%"=="0" set ramdisk=%_CWD% if errorlevel 1 set ramdisk=%_CWD% --- SF.Net email is Sponsored by the Better Software Con

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-03 Thread Blair Campbell
> Nope, hardly any application can change the environment. If you wanted, you could probably modify the source so that it does. --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * D

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-03 Thread Gerry Hickman
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 accom

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-03 Thread Bernd Blaauw
Gerry Hickman schreef: @echo off shrdrv86 /D:12400K,D if errorlevel 27 goto end if "%errorlevel%"=="0" goto end 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 errorlevel H%%x set extradrv=%%x: Hmm, this is the kind of thing I'm trying to avoid! Is it not possible for the

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-03 Thread Gerry Hickman
Hi Bernd, I need a simple reliable RAMDISK that can automatically set an Environment variable to it's drive letter. batchcode is really easy: @echo off shrdrv86 /D:12400K,D if errorlevel 27 goto end if "%errorlevel%"=="0" goto end 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 )

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-03 Thread Bernd Blaauw
Blair Campbell schreef: I need a simple reliable RAMDISK that can automatically set an Environment variable to it's drive letter. SRDISK can do this, but seems a bit over the top for my needs. I don't know if TDSK can do this. There is a program called finddisk by Eric Auer that can find a dis

Re: [Freedos-user] TDSK, SRDISK etc.

2005-08-02 Thread Blair Campbell
> I need a simple reliable RAMDISK that can automatically set an > Environment variable to it's drive letter. SRDISK can do this, but seems > a bit over the top for my needs. I don't know if TDSK can do this. There is a program called finddisk by Eric Auer that can find a disk by volume label and

[Freedos-user] TDSK, SRDISK etc.

2005-08-02 Thread Gerry Hickman
Hi, I need a simple reliable RAMDISK that can automatically set an Environment variable to it's drive letter. SRDISK can do this, but seems a bit over the top for my needs. I don't know if TDSK can do this. One problem I ran into with Microsoft's RAMDISK was lack of root directory entries, b