troubleshooting Question

Running programs form a script file in low priority

Avatar of Salehd
Salehd asked on
Windows XPWindows OSVB Script
3 Comments1 Solution2067 ViewsLast Modified:
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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros