PDA

View Full Version : bootdisk problems



bassman
01-27-2001, 10:31 AM
If I try to edit "autoexec.bat" or "config.sys" on my floppy and nothing comes up on my screen, Is this a problem?

------------------
I want to be like Pete

Ghost_Hacker
01-27-2001, 12:17 PM
If your using DOS type "edit a:\autoexec.bat" or edit "a:\config.sys".


And no.. if their empty this isn't a problem but it would mean no cdrom,himem, emm386, PATH information ,etc,etc..... when booting to DOS.
It might or might not cause problem with Windows depending on what drivers you have.


Hope this helps http://www.PCGuide.com/ubb/smile.gif

------------------
Scada's dead his ghost lives on.....

"It's just a whisper in my Ghost"

bassman
01-27-2001, 12:38 PM
Thanks Ghost, that may answer my problems.I have been dealing with this problem in System Troubleshooting. How would I add this info?

------------------
I want to be like Pete

Paleo Pete
01-28-2001, 10:40 AM
If you want to edit the existing autoexec.bat or config.sys on the machine, you have to change to C: drive first. To create one, simply add the needed commands. Type in the line you want to add, hit [Enter] to go to the next line. To comment out a line, and have the line ignored, place rem and a space in front of it.

Line syntax would be similar to this:

PATH=C:\DOS

would create a path statement telling the machine where the DOS folder is, so that external DOS commands can be used at the command prompt without having to switch to the DOS directory first.

DEVICE=C:\DOS\HIMEM.SYS

Would tell the machine to use himem to control memory. Typing himem.sys_/help would bring up the help file with all useful switches listed, so you'll know what else would be needed in the command line. Use a space in place of the underscore used here.

Any drivers with .sys extensions would go in config.sys, path statements in autoexec.bat. Check your local library, you should find books that will explain these files much better, and I don't really have room in the forum to get into lots of detail.

You can create the autoexec.bat files and copy them to the hard drive, but rename the existing ones first, so they can be renamed again and used later if necessary. If they are intended to be used from the floppy, as in a boot disk, you can create them, by typing in the necessary lines and commands, then saving them.

To open the existing files on the hard drive, you have to be at a C:\> prompt, type edit_autoexec.bat and the existing file on C drive should open.

To create one on either floppy or hard drive, the same command will work, from the appropriate prompt. If one exists already, that command will open it. If one doesn't exist, the edit window will be empty, once you save it you'll have the file available next time you open it with the edit command.

[Alt] [F] [S] will save the file to its current location, [Alt] [F] [X] exits the DOS editor. I don't know of any good links concerning writing your own autoexec and config files, but I'll do some looking later, and see what I come up with.

Hope all this didn't confuse you more...

------------------
If at first you don't succeed, skydiving is not for you!
Note: Please post your questions on the forums, not in my email.

Computer Information Links (http://www.geocities.com/paleopete/)

[This message has been edited by Paleo Pete (edited 01-29-2001).]

Paleo Pete
01-28-2001, 10:48 AM
Update to last post.

Guide to Autoexec.bat and config.sys (http://home.worldonline.dk/~petermad/con_auto/index-uk.htm) has some very good info.

Computer Hope (http://www.computerhope.com/ac.htm) also has some good info.

I'll look up more later if needed.

------------------
If at first you don't succeed, skydiving is not for you!
Note: Please post your questions on the forums, not in my email.

Computer Information Links (http://www.geocities.com/paleopete/)

bassman
01-28-2001, 02:55 PM
Thanks Pete. A bit confuseing to a DOS virgin but I think I can follow along slowly. This is all about that old Compaq I have been working on. I know it's something simple, I just don't know what yet.

------------------
I want to be like Pete

BigBlue66
01-28-2001, 08:58 PM
OH MY GOD, PETE!!!!! I don't have a DOS floder!!!!!!!!!!!!! Is my computer broken?????

hehehehehehehehe

Just pickin on ya Pete. http://www.PCGuide.com/ubb/biggrin.gif

BB 66

Paleo Pete
01-29-2001, 08:29 AM
I don't have a DOS floder either, gave mine to the Salvation Army http://www.PCGuide.com/ubb/biggrin.gif

PS. I went back and edited out the mistake, thanks for pointing it out, but it took me a minute to figure it out...

------------------
If at first you don't succeed, skydiving is not for you!
Note: Please post your questions on the forums, not in my email.

Computer Information Links (http://www.geocities.com/paleopete/)

[This message has been edited by Paleo Pete (edited 01-29-2001).]

Paleo Pete
01-29-2001, 08:35 AM
MS DOS 6.22 help-Command Reference (http://vernon.frazee.net/ms-dos/6.22/help/)

Learning MS DOS Basics (http://www.tnd.com/camosun/elex130/dostutor1.html)

MS DOS Help and Commands (http://www.computerhope.com/msdos.htm)

DOS 7 Commands (http://www3.sympatico.ca/rhwatson/dos7/) DOS 7 is the DOS version included in win95 & 98. Very little difference between it and DOS 6.22, but it works in FAT32, and has a couple of extra features.

These sites might help, I thought I had already posted them, but I guess not...

------------------
If at first you don't succeed, skydiving is not for you!
Note: Please post your questions on the forums, not in my email.

Computer Information Links (http://www.geocities.com/paleopete/)

[This message has been edited by Paleo Pete (edited 01-29-2001).]

bassman
01-29-2001, 11:10 AM
Your still my hero Pete, even if I cant be like you. I have saved all the links you posted and starting to study. Whats CRS???

Paleo Pete
01-30-2001, 07:24 AM
Can't Remember S*** ...ok stuff http://www.PCGuide.com/ubb/biggrin.gif

------------------
Eagles may soar, but weasels don't get sucked into jet engines!
Note: Please post your questions on the forums, not in my email.

Computer Information Links (http://www.geocities.com/paleopete/)