Setting file handles in XP

Posted on 2006-03-31
Last Modified: 2008-02-01
Dos program error not enough file handles available to run the program
currently have 40 need at least 85
where do you change this?
Question by:cmhtech
    LVL 59

    Accepted Solution

    Check this article:
    Troubleshooting MS-DOS-based programs in Windows XP

    A relevant quotation:

    Some programs require special settings or drivers to run in the Config.sys or Autoexec.bat file. If this is the case, there are two options for initializing these files when you starting your program: • Enter these lines in the Config.nt and Autoexec.nt files in the %SystemRoot%\System32 folder.
    • Create new Config and Autoexec files to be run when starting this program. To do so, follow these steps:1. Create the files and save them with the extension .nt in a folder other than %SystemRoot%\System32 (these files are usually saved in the same folder as the program).
    2. Right-click the desktop, point to New, and then click Shortcut.
    3. In the Type the location of the item box, type the full path to the file that you want to run, and then click Next.
    4. In the Type a name for this shortcut box, type the name for the shortcut, and then click Finish. This creates a new shortcut on the desktop.
    5. Right-click the new shortcut, and then click Properties.
    6. On the Program tab, click Windows to open a dialog box for the path to the Autoexec and Config files.
    7. Type the full path to the files that you created, and then click OK in both dialog boxes.
    Clicking this icon runs the Autoexec and Config file specified for the program. These settings are subject to the same restrictions as those listed for MS-DOS-based programs.  
    LVL 9

    Assisted Solution

    run from cmd line
    notepad C:\WINDOWS\system32\config.nt
    go to the line that says files= and you should see 40. Change it to 85.
    CONFIG.NT is used to initialize the MS-DOS environment unless a different startup file is specified in an application's PIF.
    LVL 59

    Expert Comment

    cmhtech, isn't your question answered?

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
    Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now