bender_23
asked on
Trouble passing MS03-043 a switch through VB and winbatch
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?
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?
ASKER
Winbatch is:
runshell("mypath\"KB828035 -x86-ENU.E XE, /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.
runshell("mypath\"KB828035
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.
ASKER
Sorry it's:
runshell("mypath\KB828035- x86-ENU.EX E", " /passive","",@NORMAL,@WAIT )
Too much caffeine, not enough sleep.
runshell("mypath\KB828035-
Too much caffeine, not enough sleep.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Shell("c:\here\...KB828035
How do you call it from WinBatch?