Solved

Start a program with 'High' priority

Posted on 2009-05-19
16
418 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:dstewartjr
Comment Utility
0
 

Author Comment

by:John Kincaid
Comment Utility
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:dstewartjr
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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:dstewartjr
Comment Utility
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:dstewartjr
Comment Utility

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:John Kincaid
Comment Utility
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:dstewartjr
Comment Utility
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:dstewartjr
Comment Utility
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
Comment Utility
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
Comment Utility
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:dstewartjr
Comment Utility
Was just gonna mention that, as I am running office 2007, and you must be at 2003
0
 

Author Comment

by:John Kincaid
Comment Utility
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:
dstewartjr earned 500 total points
Comment Utility
You're welcome, be sure to close out the question
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
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 how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

743 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

8 Experts available now in Live!

Get 1:1 Help Now