Getting Those File Handles Back
If the DOS program that worked before no longer works because of insufficient file handles, how do you get them back? This problem could be caused from a reinstallation of NT or a new PIF to run a DOS application. The old DOS Config.sys file used to contain a statement Files=xx to run various programs. The default of the old DOS file statement was 8, so if you were running a database or word application you probably had to increase this statement to 100. The Files= statement now resides in the CONFIG.NT which can be changed by using Notepad in Windows NT. Please follow these steps to:
- Execute MS Explorer.
- Using Explorer, locate the CONFIG.NT file. It should be located in your WINNT\SYSTEM32 sub-directory.
- Then double-click on the file to edit it. If there is no file association for .NT, simply scroll down the list and select Notepad.
- After you have the file opened in Notepad, scroll through all the REM statements and enter the command: Files=100 directly after the last REM statement or simply change the existing setting. Put in whatever number you may need. The number of file handles that equals 100 should be sufficient for most DOS applications, even the ones running across a network.
- Once you have added the statement in, then save the file, and restart the DOS application. There is no need to shutdown NT for this change. All the DOS applications will use this CONFIG.NT unless you specify some other name in the PIF file under the NT button.
Your DOS application should run just fine. There are other options that can be used in the PIF file and these can be obtained by performing a right-click on the program or startup icon, then select Properties. There are several features here that can be of use when running DOS applications. Please reference your manual for an explanation of those options.
Just click on the back arrow for the Tiproom Home Page.
Just click on the back arrow for the NT Tip Page.
Date of last revision: 9 August 2001