Solved

Limit DOS application use of resources

Posted on 1997-08-30
3
188 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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.

770 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