Link to home
Start Free TrialLog in
Avatar of Salehd
Salehd

asked on

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.Shell")
Set fs = CreateObject("Scripting.FileSystemObject")
Const MINIMIZE_WINDOW = 6

' Starting LanTalk
Return = Programs.Run("C:\PROGRA~1\CEZEOS~2\LANTAL~1\LanTalk.exe", MINIMIZE_WINDOW)

' Starting Windows Live Messenger
Return = Programs.Run("C:\PROGRA~1\MSNMES~1\msnmsgr.exe", MINIMIZE_WINDOW, False )
__________________________________________________________

The problem that I need to run these program in Low priority, How could I do this?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Salehd
Salehd

ASKER

The program nice work very well
Thanks
Happy to help - thanx for the grade! :^ )