Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

config.sys and autoexec.bat

Status
Not open for further replies.

TinRam

MIS
Jan 2, 2001
99
Hello...

I have a question regarding the two startup files config.sys and autoexec.bat:

Can the config.sys file issues regular command and/or can the autoexec.bat file load drivers?

I know this sounds strange but basically what I am doing is making a boot disk with a ram-drive. The devicehigh command that loads the ram drive is in the config.sys file. I then need to copy some files to this ram drive and have the other devicehigh commands load their drivers from the ram-drive.

How can I do this? Is there another way to load the devicehigh commands? Can I have another config.sys file that can be called from the end of a autoexdec.bat file?

Would appreciate the help.

Martin
 
Config is for device drivers of various kinds but does not issue transient utility commands.
Autoexec.bat can load some drivers and is used for transient commands.
Since the ramdrive is empty at the start your proposal was to copy the files over there , then load the files. Why not load them from their original place to start.
From autoexec.bat, the loadhigh or lh prefaces the driver.

Since you are planning on using the ramdrive you will need the himem.sys in your config first.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Thanks edfair...

I was making a network boot disk on CD in order to ghost the machine. I finally found one I could use on the net.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top