?
Solved

Trouble passing MS03-043 a switch through VB and winbatch

Posted on 2003-10-23
5
Medium Priority
?
421 Views
Last Modified: 2008-02-20
For some reason, when I try to pass the /passive or /quiet switch to the MS03-043 payload in VB or winbatch, it doesn't read that I'm throwing a parameter in there. VB code won't pass it through with shell or shell and wait commands.

When I copy and paste the patch into the command line it works fine, but whatever I try to use to do it automatically, it's like the parameters aren't there. Bit of a problem when you are trying to apply the patch on a large scale. Any ideas?
0
Comment
Question by:bender_23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 9612587
In VB, are you using something like:
Shell("c:\here\...KB828035-x86-ENU.EXE  /quiet".vbHide)

How do you call it from WinBatch?


0
 
LVL 1

Author Comment

by:bender_23
ID: 9612667
Winbatch is:

runshell("mypath\"KB828035-x86-ENU.EXE, /passive,"",@NORMAL,@WAIT)

The weird thing about the Winbatch code is that it kicks off the exe from Microsoft, but then the Winbatch exe throws a 3068 Function Syntax. Illegal delimiter found error and so winbatch won't die.
0
 
LVL 1

Author Comment

by:bender_23
ID: 9612675
Sorry it's:

runshell("mypath\KB828035-x86-ENU.EXE", " /passive","",@NORMAL,@WAIT)

Too much caffeine, not enough sleep.
0
 
LVL 22

Accepted Solution

by:
cookre earned 600 total points
ID: 9614904
Well, that looks OK.
And the patch runs, but displays more than the progress bar?

How about the VB one - does it work now?
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Introduction to Processes
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question