Solved

Start a program with 'High' priority

Posted on 2009-05-19
16
460 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
 

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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…
Suggested Courses

628 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