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
Solved

Trouble passing MS03-043 a switch through VB and winbatch

Posted on 2003-10-23
5
383 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
  • 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 200 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about problems I had with the new location API and permissions in Marshmallow
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

838 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