Professional Documents
Culture Documents
Bat&conf
Bat&conf
This is important if you! Let's say you already have shelled to dos from
windows, dmp or another program. Running two big shells on top of eachother
really fuck up your memory, and usually requires a reboot. Replace win.exe
with win.bat and move win.com to winfile.com, and dmp.exe with play.bat and
dmpfile.exe, just as an example.... | The bat files is to contain lines:
1 - exit 2-[program].[extension]
-------------------------------------------------------------------------------
If you have 4dos, you can create aliases that replace the programs. Like:
win=exit^win
, etc.......
Your path statement should NOT exceed 127 bytes. Remember that "path="
is a part of that environment string.
If you ever need to turn a variable to UPPER CASE, save the path, set the
path=[the variable], which will make it uppercase, set the original
variable=[path], and restore the path... This might look like this:
set oldpath=%path%
set path=%a%
set %a=%path%
set path=oldpath
This requires a lot of environment free, depending on you system-configuration.
Suggestions to improvements: Use disk instead of environment to store
temporary data.
A very simple trick to expand the current path, is to set the path like this:
set path=%path%;[the new directory you want temporarily in your path]
Don't say you wasn't warned! VERY simple!
if you like to have a lot of REM statements in your batch files, use this
instead:
When you normally-
rem blahblahblahblablahblahblah
rem blahblahblahblablahblahblah
rem blahblahblahblablahblahblah
rem blahblahblahblablahblahblah
replace it with,
goto a
rem blahblah........
:a
Which is faster, but not really noticeable on todays fast computers
Dos really don't know that it's handling a REM line until it has processed
and read the whole line!
I found two other undocumented config.sys features. One of which I know the
meaning of. (See it for yourself, just list io.sys.) The features is:
INSTALLHIGH
MULTITRACK
Installhigh is like devicehigh and loadhigh, but it INSTALLs high, just like
dvh and lh. (Installing is for starting exe/com files from config.sys that
are not really needed for installing here...)
Multitrack...
I dunno what this is, but I will investigate it further, and get back to you.
If you know what this is, please contact me.
Want to copy disks faster? You COULD check which clusters were occupied, etc..
BUT if you aren't so keen on writing anything else than bat-files, just copy
ALL files on you floppy (/S /H) to a temporary directory on your hd, copy
labels (with LC.btm). Then MOVE them out again to disk, and you are done!
No empty clusters copyed!