Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to get my cd rom to be 'seen' by DOS. In doing so, of course I need to add lines to config.sys and autoexec.bat. My question is...how does one edit the autoexec.bat file? Do you edit autoexec.bak? I am really confused...lol...and it is probably not that confusing!
anyone?
thanks,
__steven

Enter the EDIT command from the DOS prompt -
EDIT C:\AUTOEXEC.BAT (for autoexec)
EDIT C:\CONFIG.SYS (for config)Make your changes, exit and save.

Usually you make an autoexec.bak by entering COPY AUTOEXEC.BAT AUTOEXEC.BAK. Then, you edit the Autoexec.bat, and, if you foul it up, you delete it (DEL AUTOEXEC.BAT) and enter REN AUTOEXEC.BAK AUTOEXEC.BAT. The BAK file is your back up.
If you haven't used EDIT much, practice with COPY AUTOEXEC.BAT PRACTICE.TXT and don't sweat mistakes.
You get out of EDIT by pressing the alt and F keys at the same time. It will ask if you want to save changes and you press the Y key to save the file and return to a DOS prompt.
I guess I'm mostly telling you stuff you already know.

Just be careful and remember to make a backup of your system files before making any changes to config.sys or autoexe.bat
Norman Mahoney
Stormshouse, Inc.
http://www.stormshouse.com

The easiest way to install a CD-ROM drive in DOS, in my opinion, is to get the make and model of your CD-ROM drive, then download the DOS drivers from;
www.windrivers.com
www.driverguide.comYou normally will find software that you download, expand and then copy to a floppy disk.
Then, usually by typing A:install, the software installation begins and automatically edits your config.sys and autoexec.bat and copies drivers to the appropriate directory.
Good Luck

The easiest way to edit autoexec.bat and config.sys is by using the edit utility that comes with MS-DOS 5.0+. If you are using an earlier number of DOS you can use the line-based text editor called edlin. It will always make a backup of the original file with the .bak extention after you save changes. Backups can be safely deleted.
Autoexec.bat and config.sys are plain old ASCII text files that require no special attention. Autoexec.bat is an executable file automatically procesed by the interpreter at load-time, after the DOS kernel has read the commands in file config.sys. If there are any errors or omissions in either file, its no big deal and in any case you'll probably get an error message to help you correct them.

go to my site and d/l the cdrom driver from there, it works in dos and does not require mscdex to be on the system already as its in the installation al5ready, works with all ide drives
http://www.btinternet.com/~woofgbr
Woof

Digesting info and probably screwing up a computer or two...
Hey, what would be a good book to read and learn how to setup and control DOS?
Thanks for all the info!!__steven

![]() |
![]() |
![]() |

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