Microsoft
Software
Hardware
Network
Question : Running programs form a script file in low priority
Dear all;
I am using the following scripts to run some progrmas
__________________________
__________
__________
________
' VBScript Source File -
'
' NAME:
'
' AUTHOR: Eng. Saleh Diab , SCS-NET
' DATE : 4/9/2006
'
' COMMENT:
'
'=========================
==========
==========
==========
==========
=========
Option Explicit
Dim Programs
Dim Return
Dim fs
Dim aFile
Set Programs = CreateObject("WScript.Shel
l")
Set fs = CreateObject("Scripting.Fi
leSystemOb
ject")
Const MINIMIZE_WINDOW = 6
' Starting LanTalk
Return = Programs.Run("C:\PROGRA~1\
CEZEOS~2\L
ANTAL~1\La
nTalk.exe"
, MINIMIZE_WINDOW)
' Starting Windows Live Messenger
Return = Programs.Run("C:\PROGRA~1\
MSNMES~1\m
snmsgr.exe
", MINIMIZE_WINDOW, False )
__________________________
__________
__________
__________
__
The problem that I need to run these program in Low priority, How could I do this?
Thanks
Answer : Running programs form a script file in low priority
Two options I can think of:
1) Pass through "Start"...
Return=Programs.Run("cmd /c Start /low program.exe")
or
2) Use "nice"...
http://www.jimbug.org/down
loads/file
s/nice/Nic
e.exe
is the app dowload link.
usage is Nice.exe program.exe (see:
http://www.jimbug.org/down
loads/help
files/grav
itonomy/
gr
avitonomy.
htm
)
Random Solutions
SQL Loader Decode function
copy Outlook 2007 Master category list to another computer
Premiere 1.5 >> FLV possible?
Offline Address Book, Outlook doesnt show any
HP, Pavilion, DV9548ca, XP downgrade; video drivers won't install
how use javascript to expand and close div tags in asp.net page
HP t5720 thin client boots to user automatically used to boot to admin. How do I change it back.
"OPen With" Problem
What level of encryption is PPTP?
Microsoft, Windows , XP SP2, Task Scheduler - Open Browser without Window