Batch file question

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

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
 
Run RegSvr32 /? for a list of command line options. The option you
want is /s e.g.

RegSvr32 /s Whatever.dll
 
Ronald said:
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.
 
Back
Top