Solved

Start a program with 'High' priority

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

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
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 …
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now