Computing.Net > Forums > Disk Operating System > Autoexec.bat & Config.sys link

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Autoexec.bat & Config.sys link

Reply to Message Icon

Name: Banfield
Date: January 15, 2009 at 07:19:38 Pacific
OS: DOS 7.10
CPU/Ram: AM486 DX4 moth UMC 1
Product: Umc / V 1.7, 3.3, 3.4
Subcategory: Configurations
Comment:

Hi all guy´s.
I have in my AMD 486 two configurations, one "light" without some drivers, and a full "Normal" one. In both files.
I must do it to run some bulk programs like OrCAD, AutoTrax or Microcap 3, very memory demandant. In mormal, I also add some drivers like audio boards, network, and some more.

The question in how to do this to make the above selection once, only in Config.sys, and to pass any kind of flag to autoexec.bat to also load the selected configuration in the config.sys, since it is the first in loading.

My dos version is the MS DOS 7.10.

Very thanks to all. Best Regards. Happy 2009 for all you!!!

If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: January 15, 2009 at 08:07:20 Pacific
Reply:

If your config.sys has, like mine, these 2 flavors:

menuitem = CD
menuitem = noCD

Then the autoexec acts on a var called %config%


A typical autoexec line:

IF "%config%"=="CD" LH \util\MSCDEX.exe /D:oemcd001 /L:R


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: Banfield
Date: January 15, 2009 at 08:42:06 Pacific
Reply:

Mmmmm, very intresting. Where are these things documented?. Why are they so dark?
Or your anwer is as result of test and fail tryes?
Very Thanks M2go !!!

If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.


0

Response Number 3
Name: pyrolitic
Date: January 15, 2009 at 13:10:43 Pacific
Reply:

From your response to Mechanix2Go you give the impression that you are unaware of the ability of MS-DOS to use a Startup Menu. This is a built-in capability of MS-DOS starting with version 6. You can read a basic overview at wikipedia:
http://en.wikipedia.org/wiki/Config...
And here is a website which provides the details on how to actually set up your own Startup Menu:
http://labmice.techtarget.com/artic...
You'll have to look down the page to see the details about a startup configuration menu, but it tells you everything you really need to know to get started. MS-DOS 7.1, which your using, has a few functions that the earlier versions didn't have, but it is pretty much backward compatable with all the old commands (only when older commands conflicted with newer functions were the compatibilties dropped). Final note: Microsoft stopped informing end users about the DOS startup menus with the introduction of version 7 with Win95 (7.1 with Win98), because they wanted to discourge users from using DOS and to only use Windows.



0

Response Number 4
Name: SkipCox
Date: January 15, 2009 at 18:09:12 Pacific
Reply:

Here's a page to get you started with menuitem= in batch files.

http://technet.microsoft.com/en-us/...

A google search for "menuitem usage" or words to that effect will return a lot more than you want to read.

Skip


0

Response Number 5
Name: Banfield
Date: January 16, 2009 at 03:19:22 Pacific
Reply:

Pyrolitic:, yes, you are right. I´m user of DOS from 6.22, and now 7.10 since about 5 years. But I´m not an DOS expert, I choice DOS because I hate any and all kinds of window$. And I never had the user manual from those OS, I learned some in internet, looking to other users or "try and error".
In any way I can consider me a DOS expert.
In the other hand, it is very bad for me to know all and not to have mothing new to learn. Thanks to people like you and other more in this forum, I could run a network, USB devices on DOS, etc.

Very thanks to all you !!!

If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

I want to format my PC?Pl... HP CD Writer Plus 7200e D...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Autoexec.bat & Config.sys link

autoexec.bat & config.sys commands www.computing.net/answers/dos/autoexecbat-amp-configsys-commands/6486.html

Autoexec.bat/Config.sys/Mscdex.exe www.computing.net/answers/dos/autoexecbatconfigsysmscdexexe/8933.html

autoexec.bat and Config??? www.computing.net/answers/dos/autoexecbat-and-config/14821.html