Home All Groups Group Topic Archive Search About
Author
13 Jul 2006 2:57 PM
Ronald S. Cook
I have a .bat file that looks like this:



Regsvr32 "C:\Whatever."

Regsvr32 "C:\Whatever2."

Regsvr32 "C:\Whatever3."



And so it prompts be with a dialog box after each runs and I have to click
OK for each one.



How can I have it not prompt me?



Thanks,

Ron

Author
13 Jul 2006 3:18 PM
Dean
Run RegSvr32 /? for a list of command line options.  The option you
want is /s e.g.

RegSvr32 /s Whatever.dll
Author
13 Jul 2006 4:21 PM
Phill W.
Ronald S. Cook wrote:

> Regsvr32 "C:\Whatever."
.. . .
>
> And so it prompts be with a dialog box after each runs and I have to click
> OK for each one.
>
> How can I have it not prompt me?

regsvr32 /s "whatever"

Most DOS-style commands also support the "/?" argument, that displays a
summary of how to use them.  Usually this just get printed as output in
the DOS box but, annoyingly, regsvr32 pops up a dialog box instead.

HTH,
    Phill  W.
Author
13 Jul 2006 4:33 PM
Matt F.
Running regsvr32 /? from the command line might give a hint.

Did you try the /s switch?

Show quoteHide quote
"Ronald S. Cook" <rc***@westinis.com> wrote in message
news:eehAwyopGHA.220@TK2MSFTNGP05.phx.gbl...
>I have a .bat file that looks like this:
>
>
>
> Regsvr32 "C:\Whatever."
>
> Regsvr32 "C:\Whatever2."
>
> Regsvr32 "C:\Whatever3."
>
>
>
> And so it prompts be with a dialog box after each runs and I have to click
> OK for each one.
>
>
>
> How can I have it not prompt me?
>
>
>
> Thanks,
>
> Ron
>
>
>
>