Discussion Locked

FILES variable in WinME

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a problem of setting FILES environment variable in WinMe. That is needed for running old MS-DOS program, which needed much more file descriptors than it is set in WinMe by default.

I had found in Windows Help that 'msconfig' should be usedfor it, done as it was written there, and after reboot 'set' command shows the variable. But it didn't increase the available file descriptors. (possibly, 'msconfig' tries to set it in autoexec.bat, but in MS-DOS it was set in config.sys)

I have written the test program that just opens files until fopen() returns an error. This program opens only 15 files and stops, though the default value of FILES should be 60 (as said in WinMe Help, Troubleshooter, MS-DOS programs).

Can somebody help me to solve this problem?

5 replies

by dmiles

Research yielded these sites that may be of help to get what you want
Writing 3-Step Programs
PicLan-IP Web Applications Generator
GNU Emac Manual-File Variables
Hope this helps

by zalog

If you used the "FILES=60" in config.sys, what you need to do now is add the line PerVMFiles=60 to the [386Enh] section of SYSTEM.INI file.

This discussion is closed to new replies.