Hi! Lester Vedrox wrote:
I'm trying to customize startup files and have a few questions. 1) STACKS=9,256. STACKS=0,0 seem a bit risky
No so. When dealing many years with stacks=0,0, I found only only AT386 refurbished machine, which hangs with this setting at loading Win3.1. All other machines and times this statement was fine.
3) What is this: SET DIRCMD=/OGN
This sets in environment variable, which examined by DIR in command.com as if you enter these options manually in its command line.
4) DEVICE=C:\FDOS\BIN\FDXXMST.SYS BIOS NUMHANDLES=64 How to figure out the best value for numhandles (my pc: AMD Athlon 64, 512 MB RAM)
You may minimize this value (also as files=), unless there no programs, which require too much of XMS handles. I suggest, even 16-32 handles should be enough.
5) Which Shell command is better: SHELL=C:\COMMAND.COM /P=C:\FDAUTO.BAT SHELL=C:\COMMAND.COM C:\FDOS\BIN /E:512 /P=C:\FDAUTO.BAT
Both is equal. Difference is that second command line explicitly specifies environment size (I not remember, which size is by default) and specifies path, which will be written in COMSPEC= variable.
Here is the complete copy of both startup files: ---FDCONFIG.SYS--- FILES=50 BREAK=ON STACKS=9,256 SET DOSDIR=C:\FDOS LASTDRIVE=Z BUFFERS=20,0 DOS=HIGH,UMB DOSDATA=UMB
numlock off break on dos high,umb country = ... lastdrive z buffers 16 stacks 0,0 files 40 fcbs 1
This need only if you need to customize DIR by /OGN option.
---FDAUTO.BAT--- @ECHO OFF PROMPT $P$G SET PATH=%DOSDIR%\BIN
Short form doesn't requires "set" before "path". Also, where here is definition for DOSDIR?
SET TEMP=%DOSDIR%\TEMP SET TMP=%DOSDIR%\TEMP
I recommend to place TEMP directory in the root.
LH %DOSDIR%\BIN\CTMOUSE.EXE /3 /V
LH here not need (and not recommended). Also, you may omit path mention, because it already present in SET PATH.
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freedos-user mailing list Freedosemail@example.com https://lists.sourceforge.net/lists/listinfo/freedos-user