Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Archy

What does your AUTOEXEC look like?

Recommended Posts

Here's mine:

@PROMPT $p$g$E[36m
C:\DOS622\SMARTDRV.EXE /X
SET BLASTER=A220 I7 D1 H5 T6
@ECHO ÿ
@ECHO OFF
PATH C:\DOS622;D:\COMMAND
SET TEMP=D:\TEMP
DOSKEY20 /INSERT
DOSKEY20 ..=cd ..
DOSKEY20 LS=DIR /W/P $*
DOSKEY20 cat=type  $*
DOSKEY20 clear=cls $*
DOSKEY20 grep=find /N $*
DOSKEY20 diff=fc $*
DOSKEY20 history=DOSKEY20 /h
DOSKEY20 free=mem $*
ctmouse /3 /r11
@ECHO ÿ
@SET PROMPT=$E[1;33m$T$H$H$H$H$H$H $D$_$E[0;32m$P$G$E[1;31m
The "ÿ" is a DOS ANSI space (ALT 255) used to produce a blank line.

DOSKEY20 allows for TAB completion.

"@SET PROMPT=$E[1;33m$T$H$H$H$H$H$H $D$_$E[0;32m$P$G$E[1;31m" produces this prompt:


Here's my CONFIG.SYS:
DEVICE=C:\DOS622\SETVER.EXE
DEVICE=C:\DOS622\HIMEM.SYS
DEVICE=C:\DOS622\ANSI.SYS
DOS=HIGH
FILES=30
Nothing special.

Share this post


Link to post

I used to have one of those super-complex multi-config boot menus (both AUTOEXEC.BAT and CONFIG.SYS) in the olden DOS days, covering all possible combinations of having/not having e.g. EMS, XMS, CD-ROM drivers, etc.

This way, there were no "hard to get to play" games for me, and it looked sleeker than making a boot floppy for every game ;-)

Only problem..I'm too lazy to find it and post it. Maybe another time. My current one looks like this:

REM Dummy file for NTVDM


It's incredible how even Windows 7/8 require this vestige of MS-DOS to still be around....

Share this post


Link to post

I think they're both empty on my desktop Windows. They don't even exist in my MacBook Windows root drive. Why even ask about this?

Share this post


Link to post
printz said:

I think they're both empty on my desktop Windows. They don't even exist in my MacBook Windows root drive. Why even ask about this?


OK, what does your .bash_profile look like, then? :-p

Share this post


Link to post

I think this question kinda implies I'm asking DOS users.
Here's my Windows 7 AUTOEXEC:

Share this post


Link to post
Archy said:

I think this question kinda implies I'm asking DOS users.
Here's my Windows 7 AUTOEXEC:

 


Not even the REM line? :'(

Share this post


Link to post
Maes said:

OK, what does your .bash_profile look like, then? :-p

I don't even have that on OS X, but I was really talking about Windows :P

Share this post


Link to post

Autoexec.bat?

Are you living in the stone age? That thing has lost all relevance for me approximately 10 years ago when I bought my first Windows XP machine.

Share this post


Link to post

Don't have my DOS machine handy at the moment, will you settle for the Startup-sequence and User-startup scripts I'm using in Amiga Forever?

; $VER: Startup-Sequence_HardDrive 40.2 (25.2.93)
; Startup-Sequence for hard drive systems
; Amiga Forever Edition © Cloanto ® 1997-2000

C:SetPatch QUIET

C:Version >NIL:
C:AddBuffers >NIL: DF0: 15
FailAt 21

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

If EXISTS DEVS:Monitors
  If EXISTS DEVS:Monitors/VGAOnly
    DEVS:Monitors/VGAOnly
  EndIf

  C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
  Execute T:M
  C:Delete >NIL: T:M
EndIf

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

;BEGIN NewIcons
Assign >NIL: Work: EXISTS
  If NOT WARN
    If EXISTS Work:Software/NewIcons
      Assign >NIL: C: Work:Software/NewIcons/C ADD
      Assign >NIL: LIBS: Work:Software/NewIcons/Libs/HE ADD
      C:PatchOpenWB
      Run >NIL: <NIL: C:NewIcons
      C:DefIcons
    EndIf
  EndIf
;END NewIcons

C:AddDataTypes REFRESH QUIET
C:IPrefs

;BEGIN FullPalette
Assign >NIL: Work: EXISTS
  If NOT WARN
    If EXISTS Work:Software/FullPalette/FPPrefs
      Work:Software/FullPalette/FPPrefs
    EndIf
  EndIf
;END FullPalette

C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

Assign >NIL: Work: EXISTS
If NOT WARN
  If EXISTS Work:C
    Path >NIL: Work:C
  EndIf
  If EXISTS Work:Software/LhA
    Path >NIL: Work:Software/LhA
  EndIf
EndIf

SYS:System/RexxMast >NIL:

Copy ENVARC:Sys/def_Ram.info RAM:Disk.info
C:Protect >NIL: RAM:#? RWD ADD ALL

If EXISTS S:User-Startup
  Execute S:User-Startup
EndIf

Assign >NIL: Workbench: EXISTS
If WARN
  Assign >NIL: Workbench: SYS:
EndIf

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:
; Notes: NewIcons and FullPalette are taken care of in
;        S:Startup-Sequence because they need to run in a precise
;        order with respect to IPrefs and other commands. The
;        ClassAct and DOpus5 parts are in S:ExecuteAll for easier
;        upgrades from previous versions of Amiga Forever (no
;        need to change this user-startup file).

Version >NIL: graphics.library 36
If NOT WARN

;BEGIN KingCON
  If EXISTS DEVS:KingCON-mountlist
    Assign CON: DISMOUNT
    Assign RAW: DISMOUNT
    Mount CON: from DEVS:KingCON-mountlist
    Mount RAW: from DEVS:KingCON-mountlist
  EndIf
;END KingCON

EndIf

Assign >NIL: Work: EXISTS
If NOT WARN

;BEGIN Picasso96
  If EXISTS Work:Software/Picasso96
    Assign Picasso96: Work:Software/Picasso96
  EndIf
;END Picasso96

;BEGIN Personal Paint
  If EXISTS Work:Software/PPaint
    Assign PPAINT: Work:Software/PPaint
    Path PPAINT: ADD
  EndIf
;END Personal Paint

;BEGIN Personal Write
  If EXISTS Work:Software/AmiToRTF
    Assign PWRITE: Work:Software/AmiToRTF
    Path PWRITE: ADD
  EndIf
;END Personal Write

;BEGIN TurboText
  If EXISTS Work:Software/TurboText
    Assign TurboText: Work:Software/TurboText
    Path TurboText: ADD
  EndIf
;END TurboText

EndIf

;BEGIN ExecuteAll
If EXISTS S:ExecuteAll
  Echo >T:ExecuteAll.bat "Failat 21"
  List >> T:ExecuteAll.bat S:ExecuteAll PAT=~(#?.info) LFORMAT="Execute *"%p%n*"" ALL FILES
  Execute T:ExecuteAll.bat
  Delete >NIL: T:ExecuteAll.bat
EndIf
;END ExecuteAll

Assign FMS: Sys:FMS
;BEGIN xfdPatch
xfdPatch >NIL:
;END xfdPatch

Share this post


Link to post

@echo off
rem autoexec.bat for DOSEMU + FreeDOS
path c:\bin;c:\djgpp\bin;z:\bin;z:\dosemu
set HELPPATH=z:\help
set TEMP=c:\tmp
set DJGPP=C:\djgpp\djgpp.env
blaster
prompt $P$G
unix -s DOSDRIVE_D
if "%DOSDRIVE_D%" == "" goto nodrived
lredir del d: > nul
lredir d: linux\fs%DOSDRIVE_D% r
:nodrived
rem uncomment to load another bitmap font
rem loadhi display con=(vga,437,2)
rem mode con codepage prepare=((850) z:\cpi\ega.cpx)
rem mode con codepage select 850
rem chcp 850
lredir f: linux\fs/home/ftp r
alias ls=ls --color=auto -F
unix -s DOSEMU_VERSION
echo "Welcome to dosemu %DOSEMU_VERSION%!"
unix -e

Share this post


Link to post

I use the default from Win95. Haven't had a problem yet.

I've never had to edit it manually on my "Old box".

Share this post


Link to post

How annoying it must be to have to manually load mouse drivers and deal with insert turned off.

Share this post


Link to post
Archy said:

How annoying it must be to have to manually load mouse drivers and deal with insert turned off.


No? that was handled sanely by my mouse driver. and if I need cutemouse loaded, I just run batch files. that way I can remove drivers as needed. it's not annoying at all.

And I've never had a problem with default DOS behavior. Maybe because I don't make typos.

Share this post


Link to post

I'd like to see this unedited AUTOEXEC, sounds like something's been added, just not by you. Many programs auto edit the AUTOEXEC so you don't have to. Many OEMs also come with customized AUTOEXECs as well from my experience.

Share this post


Link to post
Archy said:

Mind explain this "unix" command stuff? Sounds interesting.

The Unix command is dosemu-specific and lets you execute Unix commands from within the emulator.

Share this post


Link to post

Figured, I've never used DOSEMU though. How does it translate paths to the MS letter based drives format?

Share this post


Link to post
printz said:

I don't even have that on OS X, but I was really talking about Windows :P


If you want to have a look at it ;-)

cat .bash_profile

Share this post


Link to post
Archy said:

@Graf Zahl
Many of us still use DOS.


We do? DOSBOX doesn't really count ;-) Unless you were referring to the crypto-DOS still used in Windows 9x...but who is still using that, even?

Share this post


Link to post

I used to have Quarterdeck Expanded Memory Manager (QEMM) and through a combination of cunning use of config.sys and autoexec.bat I could get comfortably over 600KB of memory available to my programs. For the one or two games that didn't like QEMM, I had special configurations on bootable floppies (or sometimes alternative config.sys and autoexec.bat files that I could swap out).

Fortunately, I haven't had to worry about that kind of nonsense for years. I don't have a copy of my old ancient files to post.

Share this post


Link to post
Maes said:

Unless you were referring to the crypto-DOS still used in Windows 9x...but who is still using that, even?

Yes, I'm counting DOS 7.x as "DOS," though people are welcome to post their emulated DOS AUTOEXECs.

Share this post


Link to post
Mr. T said:

If you want to have a look at it ;-)

cat .bash_profile

Still nothing found, neither on home nor on root dir.

Share this post


Link to post

As a teen, I thought I was hot shit and a smart aleck for renaming AUTOEXEC.BAT to AUTOBAT.EXE - the latter apparently isn't exactly harmless.

Share this post


Link to post

Well, executing a .BAT file as .EXE would in the best of cases result in garbage being printed to the screen and random beeps, in the worst case in a freeze and a hard reset.

The AUTOBAT.EXE I linked is some sort of malware that hides itself in plain view, by mimicking the name of a normally present file. Yeah, it really does look the same....almost. Enough to fool non-technical types anyway ("AUTOEXEC.BAT... AUTOBAT.EXE... what's the difference?")

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×