Solved

Limit DOS application use of resources

Posted on 1997-08-30
3
220 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
[X]
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
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

734 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