Autoexec.bat and config.sys boot file examples

Diy-Computer-Repair can help!

Boot files tell the computer what to do when it starts, loads cd/dvd or usb device drivers for access to those devices in DOS.

Note:
Before you start on your adventure read entire this page, it may save you some work and heartache searching for drivers.

Autoexec.bat and config.sys file examples

To use these examples copy and paste to Notepad. Do not use Word or any other word processing program, the file will not work. Also see the note at the bottom of the page on device drivers.

CD/DVD ROM files:

Autoexec.bat

@echo off
cls
MSCDEX.EXE /D:IDECD001 /L:E
 

Config.sys

DEVICE=A:\HIMEM.SYS
DOS=HIGH,UMB
DEVICEHIGH=A:\XXXXX.XXX /D:IDECD001
files=30
buffers=30

Note:

You will have to find the appropriate driver for your usb or cd/dvd rom drive, I can not supply all the drivers out there because there a literally millions!

You will also need to find these two files, from your hard drive or search Microsoft for the names:

HIMEM.SYS
MSCDEX.EXE

Add the driver files to the floppy with those above.

You will find more information on Batch Files in the Self Computer Repair E-Book.

Where I have put the XXXXX.XXX is where you paste your driver name, be sure to copy the actual driver file to the floppy, do not create any folders (or directories) on the floppy, it will cause a boot time error if the drivers are in a separate folder (or directory).

When you find your drivers there should be a text file called readme or something similar, check for the line that reads  DEVICE=A:\XXXXX.XXX /D:IDECD001, you are looking for the part that reads: /D:xxxxxxxx that will be the drive parameter for MSCDEX.EXE to find the driver when it loads, copy the line and past it after the /D: in both the autoexec.bat and config.sys. Save both files and then copy them with the other files to the floppy. Test the floppy, when you start the system you should be at the a: prompt, it will look like this: a black screen with a A:\ Next you need to test the drivers and insure you can access the cd/dvd or usb drive. The drive will be E: for the cd/dvd or the usb drive, type D: at the prompt, press enter. Do you have E:\ or an error? If you have a E:\ then you are done. Congratulations!

If on the other hand you have an error you need to look at the syntax (how the command is formed) for the cd/dvd or usb driver in both autoexec.bat and config.sys files to insure they are correctly typed.

Now you have access to the computer without going into the installed OS. This opens a new set of opportunities for you.


Are you a member?
Does your Computer need some TLC?
More information on batch files in the

DIY Membership Section!




Q and A

This site contains a lot of information. As with any publication not all information is available due to space, time, or subject constraints.

If you have a question that you did not find the answer on this web site  you a can ask your question here and we will endeavor to get you the most up to date answer possible!

Free Stuff!


Thank you for visiting my web site, and please come back again.

© www.diy-computer-repair.com '2008 Copyright Russell Enterprises All Rights Reserved
DiY Computer Repair contact support and sig. If you find this Web Site useful, feel free to recommend it to a friend.



Return to previous page




This website is not intended for children under the age of 18

Home
   Support   About owner   Site Map   Why I use SBI
Privacy Policy  Disclaimer



Return to top

Copyright DIY-Computer-Repair.Com 2009

powered-by-sbi


 

My Twitter! xml-rss Add to My Yahoo!
Add to My MSN Add to Google AddThis Social Bookmark Button My StumbleUpon Page Computer Blogs - BlogCatalog Blog Directory

Page copy protected against web site content infringement by Copyscape
***ebsp-d.shtm***
Index
Home Page

How To's..
Auto Conf
Cleaning a computer
Cleaning Your Keyboard
Create a bootable floppy
Create a bootable CD/DVD
Create a bootable USB device
Dual Boot for your computer
Installing a Hard Drive
Making an External Hard drive bootable
How to make a bootable USB hard drive
Build a BartPE disk
BartPE and ERD Commander
Crossover cable connection to transfer files.
Defragment your hard drive
Create an image of your hard drive
Creating a Symantec Ghost image
Restore Symantec Ghost image
Copy or Move a File?
Disaster Recovery
Connectors - What are they?
[Humor]
Installing new hardware, a how to...
Internet in your RV? Network Attached Storage NAS
Network Connection Speed
Overclocking - Processor and FSB
Partition and format a hard drive
Performance optimization
More...Performance optimization
Increased Security For Your Computer
Setup a Router
Wireless Router setup
Setup Software / Firewall
Windows Firewall Service
System Manager Tips
System Tools
Storage Manager
Services and Application
Upgrade your Motherboard
Backup for Windows XP