Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent regsvr32 show confirmation window in .cmd 1

Status
Not open for further replies.

NuniPR

Programmer
Mar 3, 2005
55
0
0
PR
Hi Guys!

I have a .cmd that is supposed to extract files and copy them into another location, as well as register some dlls.

When the registering is complete/successfull, a window shows the status of the register (successful, etc.) and has a little OK button. I don't want to see that little window. Could you help me out? I know there's something that goes after the regsvr32 code, but I can't seem to remember what it is.

This is the regsvr32 code that is running on the .cmd file:

Code:
regsvr32 %TARGETDIR%\imaging.dll

Thanks a bunch, guys!



Nunina [gorgeous]
Cognos BI Administrator
San Juan, PR
 
Thanks a bunch, JP!! It worked perfectly!!

Now, if you kindly explain what the /s does, I'll give you the star!



Nunina [gorgeous]
Cognos BI Administrator
San Juan, PR
 
/s runs regsvr32 in silent mode, it wont display a success or failure.

/u does an unregister.

/? is however the supreme switch for any command line operation ;)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top