Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Start a program with 'High' priority

Posted on 2009-05-19
16
Medium Priority
?
463 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

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 2000 total points
ID: 24435031
You're welcome, be sure to close out the question
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

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…
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 …
Viewers will learn the different options available in the Backstage view in Excel 2013.
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…

688 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