Solved

Start a program with 'High' priority

Posted on 2009-05-19
16
455 Views
Last Modified: 2012-05-07
I know this question has been asked and answered.  When I followed the directions
"start /high msaccess" the Task Manager still shows the program priority as normal.

I am using XP Professional.  Any suggestions?
0
Comment
Question by:John Kincaid
[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
  • 8
  • 8
16 Comments
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24425558
0
 

Author Comment

by:John Kincaid
ID: 24425752
I saw a variation of that one and saw the same results.  I used the one you referred and again the application and .mdb opens but the priority displayed in the Task Manager still shows "Normal" priority.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24425842
That's strange, cause every app I test it on and then go to taskmgr right click on process and try to change priority(to check) it's changed
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:John Kincaid
ID: 24425889
This is the line I have in the shortcut target.

c:\windows\system32\cmd.exe /c "Start/High MSAccess.exe C:\XA\NewBoxXA1.0904d.mdb"
0
 

Author Comment

by:John Kincaid
ID: 24425906
I am able to manually chagne the priority as you describe but the command line is not changing it.
0
 

Author Comment

by:John Kincaid
ID: 24426238
Furthermore I just ran c:\>start /high msaccess from the command prompt and the Task manager still shows the priority is Normal.  The same results from 2 other PCs.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24432073
Ok, figured it out
 This works
 
cmd /c start "runhigh" /high "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24432149

So fro you it would be:
cmd /c start "runhigh" /high "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"  "C:\XA\NewBoxXA1.0904d.mdb"
0
 

Author Comment

by:John Kincaid
ID: 24434480
How do you deal with the spaces in the path.  I assume that is the problem now. I keep getting the message "The system cannot find the file C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24434516
make sure that this is the path to msaccess.exe on your system, spaces in the path are taken care of by putting quotes around.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24434536
did you try the whole line I gave above including the quotes?
.....MSACCESS.EXE"   "C:\XA\NewBoxXA1.0904d.mdb"<<<<note the space
0
 

Author Comment

by:John Kincaid
ID: 24434699
This is copied from the shortcut.

C:\WINDOWS\system32\cmd.exe /c start "runhigh" /high "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"  "C:\XA\NewBoxXA1.0904d.mdb"
0
 

Author Comment

by:John Kincaid
ID: 24434730
Sorry I didnt read your earlier comment about the spaces inside the quotes.  As to the path, MSACCESS.EXE is actually in the Office11 and when I just now changed that, all seems to be working as it should.  

Thanks for the help!
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24434775
Was just gonna mention that, as I am running office 2007, and you must be at 2003
0
 

Author Comment

by:John Kincaid
ID: 24434996
That is correct and we are testing this further.  Thanks again.

FYI:  This application is a large stand alone program used by Fire Department dispatchers to look up addresses and assign equipment during periods when the CAD "Compter Assisted Dispatch" System is out of service.  The application was performing slowly during a recent event and we think another application resident on the PCs was hogging resources.

Anyway, thanks again.
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 24435031
You're welcome, be sure to close out the question
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I wanted to share this with fellow Experts, who might not know. How often have you wanted to learn something, only to be set back by either restrictions imposed on "trial" or "evaluation" software?  How often have you had to rebuild a home networ…
Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

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