Solved

Trouble passing MS03-043 a switch through VB and winbatch

Posted on 2003-10-23
5
391 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

733 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