home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
misc_programming
/
batnmore.z!p
/
AUTOEXEC.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-11-15
|
2KB
|
64 lines
*REM This batch file is Freeware, free to use and redistribute unmodified *
*REM Jouni Miettunen * jon@stekt.oulu.fi * Oulu * Finland * Europe * 1992 *
:load carefully prepared default settings..
set /r \4dos\environ.txt
alias /r \4dos\alias.txt
history /r \4dos\history.txt
: I use default Code Page 437, don't have to change anything
:mode con cp prepare=((437) c:\dos\ega.cpi) >nul
:mode con cp select=437 >nul
: Finnish keyboard, enchanced
keyb su,437,c:\dos\keyboard.sys /e
: A fancy and more readable font than the default vga font.
: fntcol13.zip & fntutl14.zip by Yossi Gil. Great!
@\etc\loadfont \etc\decorate.f16
: Speed keyboard typematic rate (eg. for scrolling w/cursor keys).
mode con rate=32 delay=1
: clear memory
set command=
: place tsr's here. The order *does* matter.
@\4dos\kstack >nul
: put fortune in prompt (4tune 2.60 by Luca Favaro) (not a TSR).
@c:\etc\4tune /p c:\tekstit\tune >nul
: Control-P freezes my computer, no printer connected.
: Replace "ctrl-p" with "Insert Insert". Summary: nothing happens.
: Note: have to be reenabled for programs that use control-p.
@echo 0;82;0;82p
: Turn NumLock OFF at start-up by John Steele (finally...)
@\etc\nonum2
: General housekeeping
@*cd relax
@set path=%path%;c:\relax
@cls
: I use /F option with COMSPEC and got fooled once. No more. Now I'll know
: it's *ON* and all I have to do is to remember what it *means*. B-)
@echo.
@echo e[0;1;5;31;40m
@echo ╔═════════════════════════════════════════════════╗
@echo ║ e[0;1;37;40mNote: disk drive error messages e[33m*are*e[37m disabled. e[5;31;40m║
@echo ╚═════════════════════════════════════════════════╝
@echos e[0m
: Check what's happening in this month (cal 2.4 by Alex Matulich)
@cal
: Note: test below works with european date format dd-mm-yy
: Note: if day is over 25 show next month's calender, too. If it's December
: show next year's January. Does not go beyond 1999. B-)
@if %@substr[%_date,0,2] gt 25 cal %@eval[(%@substr[%_date,3,2]+1)%%12] 19%@eval[%@substr[%_date,6,2]+%@int[%@eval[(%@substr[%_date,3,2]+1)/13]]]
: DOS Critical error Handler 1.13 by Patrick Philippot and David Frey
@c:\etc\4dos24h >& nul