> Our legacy dos apps that we are rewriting in Delphi require a large number
> of file handles. With Windoze 98 putting the line Files=200 in config.sys
> set the upper limit for file handles in dos to 200, problem fixed. Does
> anybody know how to do this in W2K Professional? W2K no longer has a
> config.sys so I can't put it in there. There doesn't appear to be any
> advanced properties of a shortcut to a command prompt that let
> you set up a
> config.sys for that shortcut like there are in Windoze 98.
>
> Any ideas? I am sure once I find it I will wonder why I didn't see it in
> the first place.
The default CONFIG.SYS and AUTOEXEC.BAT work-a-likes for 16-bit VDMs are
stored in your WINNT\System32 directory as CONFIG.NT and AUTOEXEC.NT - you
can also change the defaults on a per shortcut basis however using the
Windows NT button on the Program tab of your 16-bit application shortcuts
(at least in NT 4.0 you can, haven't checked W2K :-)
Note that CONFIG.NT and AUTOEXEC.NT are also used by the Win16 subsystem
(aka WOW) so don't get too cavalier with them or your Win16 applications
will cease to work.
So if your application needs substantial tweaks (i.e. beyond FILES= stuff)
to these pair of files, you're better creating your own versions and
altering your shortcuts accordingly.
Note that if you are writing a Win32 application, file handles limitations
are pretty much a thing of the past - they only apply to the 16-bit VDM
subsystem.
TTFN,
Paul.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz