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
Windows OSWindows XPVB Script

Avatar of undefined
Last Comment
sirbounty
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Salehd
Salehd

ASKER

The program nice work very well
Thanks
Avatar of sirbounty
sirbounty
Flag of United States of America image

Happy to help - thanx for the grade! :^ )
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo