Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Limit DOS application use of resources

Posted on 1997-08-30
3
198 Views
Last Modified: 2013-12-28
This is a stupid question for way too little (but
currently all available) points, about a OS/2 feature
I would like to simulate in Windows NT.

I like to limit the amount of resource usage, in fact currently only the usage of processortime is troubling me, of DOS applications running under Windows NT (64Mb Compaqs >=P166).
Some DOS applications which
must run on some stations, slow down Win32 applications
(e.g. MS Word) considerably.
I tried to invoke them with start command (which I do not
like due to the structure of the CMD files), but with the four available options for processpriority of the start command, I can't get them to stop delaying my Win32 applications.
Even with minimal processpriority they are irritating.
When are these DOS-applications irritating:
always: even doing nothing and waiting for a key to be pressed.

Most probably a third party utility is necessary to reach
my goal. Talk about it.
Someone somewhere said he had an application for it.
An application which passed on the errorlevels of the
DOS application running. Can this be true?

0
Comment
Question by:mosi
3 Comments
 
LVL 2

Expert Comment

by:mearley081497
ID: 1782001
Kind of funny how you have so much control over DOS in Win95 but almost no control over the DOS emulation in Win NT?  Then again, Win95 is DOS 7.0.

I can say you may change the system setting in control panel to give the foreground application maximum boost (processor time).  I will assume you tried this.

-Matthew
0
 
LVL 2

Accepted Solution

by:
barthollis earned 40 total points
ID: 1782002
If you go to the properties of the actual program, there is a setting for idle sensitivity.  You can adjust it to help.  It may not be a complete solution however.

Tell me about the DOS apps.  Were they created in house?  Do you have source code?  There is a patch for Clipper compiled programs to eliminate this problem.  They are notorious for this action.

Of course, the easist way is to exit the DOS programs until needed.  This works in most, but not all, situations.
0
 
LVL 1

Author Comment

by:mosi
ID: 1782003
to Bathollis:

I except your answer. I didn't think I could use PIF files
because I use LNK files to invoke CMD files, who do some stuff and then invoke the EXE files. But now I found that even then
one can use the PIF files MISC setting for IDLE sensitivity, by
placing it in the same dir as the dos-app. This only
helps a little though. For many applications the problems remain
unchanged.

We use a lot of DOS-apps of all different sources,
among them many Clipper 87 and 5.x made apps.

But I really would like to receive that patch.
Where can I find it (mosi@euronet.nl)?




0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

860 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