We help IT Professionals succeed at work.

Problems running an .exe with switches

Lorrec
Lorrec asked
on
330 Views
Last Modified: 2010-04-21
Hello. I am trying to run a MS patch with several switches. The patch would be distributed by SMS so the location would not be static. I can get it to run if I do not have the switches.

Any advice on running an .exe using /quiet and /norestart switches.

Thanks for any assistance.
Dim Patch
Dim WshShell
 
Set WshShell = WScript.CreateObject("WScript.Shell")
Patch = WshShell.Run ("WindowsServer2003-KB939977-v2-x86-ENU.exe", 1, TRUE)

Open in new window

Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you for the post.

I was doing it wrong. I was doing the switches after the quotes. Thanks for the assistance.

Author

Commented:
Thank you for the assistance.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.