PC Review


Reply
Thread Tools Rate Thread

2 dos apps slow until NTVDM priority lowered - can i set process priority automatically at startup ?

 
 
scott
Guest
Posts: n/a
 
      17th Mar 2005
Hi,

I have two DOS legacy apps running on the same machine. DOS apps apparently
invoke NTVDM. When loading "task manager", "processes" and right clicking
"NTVDM" i can lower the priority of the process and the DOS legacy apps
speed up.

Is there a way i can set the priority on the process without having to do it
manually via task manager ?

Thanks for any info.
Scott


 
Reply With Quote
 
 
 
 
Rob Stow
Guest
Posts: n/a
 
      17th Mar 2005
scott wrote:
> Hi,
>
> I have two DOS legacy apps running on the same machine. DOS apps apparently
> invoke NTVDM. When loading "task manager", "processes" and right clicking
> "NTVDM" i can lower the priority of the process and the DOS legacy apps
> speed up.
>
> Is there a way i can set the priority on the process without having to do it
> manually via task manager ?
>


You should check out the "start" command.

I used it in a lot of my shortcuts so that apps start with the
priority I want them to have.

For example, if your app has the name "MyApp.exe" and is in the
folder "C:\Program Files\MyAppPath", then the shortcut would the
target (All on one line)
[path]\CMD.EXE /c "start /belownormal /d"C:\Program
Files\MyAppPath" MyApp.exe"
 
Reply With Quote
 
Steve Parry [MVP]
Guest
Posts: n/a
 
      17th Mar 2005
scott fumbled, fiddled and fingered:

> Hi,
>
> I have two DOS legacy apps running on the same machine. DOS apps
> apparently invoke NTVDM. When loading "task manager", "processes" and
> right clicking "NTVDM" i can lower the priority of the process and
> the DOS legacy apps speed up.
>
> Is there a way i can set the priority on the process without having
> to do it manually via task manager ?
>
> Thanks for any info.
> Scott


Start
Run
type
CMD
click OK
CMD Prompt opens
type

start /?

press enter

note the /LOW / NORMAL /HIGH switches

--
Steve Parry BA (Hons) MCP MVP

http://www.gwynfryn.co.uk


 
Reply With Quote
 
scott
Guest
Posts: n/a
 
      17th Mar 2005
cheers guys, will give it a go

Scott


 
Reply With Quote
 
scott
Guest
Posts: n/a
 
      17th Mar 2005
c:\windows\system32\cmd.exe /c "start /belownormal /d" r:\r\ "run.bat"

sorry to bother again, i appear to have a problem getting the syntax
correct.

cmd prompt launched ok but does execute run.bat ?

"the current dir is invalid" im told but the path is r:\r\run.bat . batch
file works fine when selecting direct.

cheers
scott


 
Reply With Quote
 
scott
Guest
Posts: n/a
 
      17th Mar 2005
c:\windows\system32\cmd.exe /c start /belownormal /d "r:\r" run.bat

works

thank
scott


 
Reply With Quote
 
Rob Stow
Guest
Posts: n/a
 
      17th Mar 2005
scott wrote:
> c:\windows\system32\cmd.exe /c start /belownormal /d "r:\r" run.bat
>
> works
>


Glad you figured it out.

Rob
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie: Lowering process priority in registry for ntvdm.exe Cf Microsoft Windows 2000 Registry 1 5th Jan 2007 09:08 AM
Again - Newbie: Lowering process priority in registry for ntvdm.exe Cf Windows XP General 7 28th Dec 2006 01:46 AM
Newbie: Lowering process priority in registry for ntvdm.exe Cf Windows XP General 3 27th Dec 2006 06:07 PM
Newbie - Again: Lowering process priority in registry for ntvdm.exe Cf Windows XP Help 0 27th Dec 2006 03:44 PM
Newbie: Lowering process priority in registry for ntvdm.exe Cf Windows XP Help 0 27th Dec 2006 04:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:33 PM.