• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

ON a DOS machine. How do you cancel the Autoexec.bat??

Let's say you have an autoexec.bat that automatically sends you to the program. which key will prevent the autoexec.bat from executing?? is it f8 there also??
 
ok. so it was f5. thanks.

can't edit the file because the program that boots up doesn't really have an exit function. poorly designed program. this computer really has one purpose and one purpose only to run the Lasik machine using this old DOS program.

anyway, thanks. i'd forgotten f5.
 
Originally posted by: PlatinumGold
ok. so it was f5. thanks.

can't edit the file because the program that boots up doesn't really have an exit function. poorly designed program. this computer really has one purpose and one purpose only to run the Lasik machine using this old DOS program.
Sure you can. All you need is a DOS text editor. EDIT.COM (in DOS) is about the worst I've seen, except for the old COPY COM routine.

Once you F5 and get to the command prompt, go to the root directory, and edit the file. You could also copy AUTOEXEC.BAT to a floppy and edit it on a Windoze machine in NOTEPAD. 🙂
 
Originally posted by: Tominator
I was thinking of the REMark as well but if I'm remembering right that is for Windows.

REM works just fine for the autoexec.bat and config.sys files.

As for holding down shift, I think that only works when you're booting into windows, to prevent the startup items from loading. It doesn't do much of anything starting the system up on a DOS machine.

JW
 
REM works in any DOS batch file. Also if I recall correctly F8 instead of F5 allows you to step through the config.sys and autoexec.bat to see exactly what statements are doing what.
 
Harvey

I was saying that I can't edit the Autoexec.bat file till AFTER i shut down, reboot and hit f5 allowing me to get to the command prompt.

 
BTW, what is wrong with Edit.com??

i never had problems with it. on my old 486 laptop i would just leave off all the software and just used edit.com as my note taker.

it was ok. not great, but far from suck. it wasn't like edlin or anything.
 
I love COPY CON. Get done and you have two options to quit and save: F6 or CTRL-Z. CTRL-C to quit. 😉

Edit is awesome. I wrote all kinds of batch files with edit.com. Get used to COPY CON and you'll appreciate Edit. It also provides a familiar QBasic-like interface.

Seriously, though. I grew up on DOS 2.1 with BASICA. You think EDIT was bad? Have you ever used EDLIN?
 
Originally posted by: Linflas
REM works in any DOS batch file. Also if I recall correctly F8 instead of F5 allows you to step through the config.sys and autoexec.bat to see exactly what statements are doing what.

Man, that is familiar.
 
Originally posted by: xirtam
Seriously, though. I grew up on DOS 2.1 with BASICA. You think EDIT was bad? Have you ever used EDLIN?


I was thinking that myself. I remember when edit wasn't even available (was dos 5.0 the first dos with edit? don't remember). Edlin is the definition of user unfriendly.
 
Yes it was. I was thrilled when Dos 5.0 came out.

But by then I was messing around with virtual ram disks and trying to simulate a hard drive (I didn't have one on my old 8088.)

By the way, I considered myself geeky for liking edlin. Now I'm not sure I'd be able to use it that well... have to touch up on that sometime. I wrote a version of edlin in BASICA about 7 years ago.
 
Back
Top