DOS Programs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My DOS program gives me error 'too many open files' on my notebook, but it
works fine on my desktop. Both are using XP Home Edition.
 
Boot up both PC's, rightclick the Command Prompt icon and click Properties.
Click the Layout tab and compare the both of them. Set your notebook to
the same as your desktop and try again. If that does not solve it, go here:
On your notebook: Start>Run>type MSCONFIG and press OK>click the
startup tab and uncheck/disable all entries except your anti-virus>click
Apply and Close>reboot. Now try DOS again.
 
Vaidya said:
My DOS program gives me error 'too many open files' on my notebook, but
it
works fine on my desktop. Both are using XP Home Edition.

Haven't seen this this century. DOS had a limit of 20 open file handles
(ISTR) unless this was increased by modifying the config.sys file, as in
FILES= (whatever)
How you would increase this on a system that doesn't use DOS or a config.sys
file is anybodies guess.
MH
 
"David Candy" <.> wrote in message
In the config.nt file.

Thanks for that David, you learn something new everyday ;-) Mine's set to
254.

MH
 
Any reason why one less than the max.

254 is really high for non database apps. It reduces free memory and normal programs mightn't run, esp if you left in the default MS drivers (which are to run corporate apps not general Dos programs) which chew up enourmous amounts of memory..
 
"David Candy" <.> wrote in message
Any reason why one less than the max.

254 is really high for non database apps. It reduces free memory and normal
programs mightn't run, esp if you left in the default MS drivers (which are
to run corporate apps not general Dos programs) which chew up enourmous
amounts of memory..

David,

No idea, the laptop came preloaded, configured etc., and this is the first
time I looked at the config.nt. I assume this was set at installation time.
The only time a "DOS" box is used on this is to run things like Ipconfig and
tracert etc., (not the same I know) Will wind it down to 40 and see if there
is any difference.

Regards

Mike H
 
IPConfig and TraceRT are not Dos programs, therefore they don't give a stuff how dos is configured. They are windows programs like notepad.

What you see is the console window. It is not Dos even if it is running Dos.

This is the active lines from my Config.sys
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40
 
"David Candy" <.> wrote in message
IPConfig and TraceRT are not Dos programs, therefore they don't give a stuff
how dos is configured. They are windows programs like notepad.

What you see is the console window. It is not Dos even if it is running Dos.
That's why I said "its not the same, I know"

This is the active lines from my Config.sys ? Not .Nt?
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40

Mine
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=254
shell=%systemroot%\system32\command.com /e:4096
 
Thanks. Let me try working on config.nt.

About the reference to config.sys, that does not seem to work.

I will revert to you with whatever result I get.
 
Thanks. Let me try working on config.nt.

About the reference to config.sys, that does not seem to work.

I will revert to you with whatever result I get.
 
At present I am far away from the desktop on which it does not work. I
checked on my notebook where it works. I could not locate the file config.nt.
There is config.nt_ in c:\i386 and a config.sys in
C:\swsetup\norton\nav\rescue. I do not Norton.

Do I create the file by using text editor. In which directory should I do it.
 
There are 48 entries in the startup,and none of this was created by me
directly. Not knowing how it came there, I feel it risky to try this.
 
Vaidya said:
Thanks. Let me try working on config.nt.

About the reference to config.sys, that does not seem to work.

I will revert to you with whatever result I get.
Vaidya,

You should find config.nt in the C:\WINDOWS\SYSTEM32 folder. You can edit in
notepad.
To do so, right click on the icon with the shift key held down, this will
give you the option "Open with" then choose notepad from the program list.
(make a copy of the file first and put it somewhere safe in case of mishap)

HTH
MH
 
Vaidya said:
At present I am far away from the desktop on which it does not work. I
checked on my notebook where it works. I could not locate the file
config.nt.
There is config.nt_ in c:\i386 and a config.sys in
C:\swsetup\norton\nav\rescue. I do not Norton.

Do I create the file by using text editor. In which directory should I do
it.
Vaidya,
I missed this first time round, it sounds as if your config.nt is missing
from where it should be, try the following:
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At the command prompt, type the following command and press ENTER
expand C:\ i386\config.nt_ c:\ windows\system32\config.nt
Exit

HTH
MH
 
Thanks a lot. I do have the file on which it works with appropriate files =
.. I think, I could not find it for two errors. In 'search', I did not select
search for hidden and system files. When I tried searching from DOS by Dir
config.* /s. It did not work because the file is hidden. Or may be for some
other reasons.

Now I have located the file. It sould work. However I can now confirm only
after 16th Feb. This possibly could resolve my other problem of giving Path
in my DOS working. I try and report the results.

Thank you everbody for the kind help.

Regards
 
dir c:\*.* /a /s

This searches C drive and subfolders for all files. What your one does depends on where you typed it.
 
Back
Top