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!

Using regsvr32 via Batch file 1

Status
Not open for further replies.

newbie1983

Programmer
Sep 9, 2003
52
0
0
GB
Hi,

id like to register a few dlls and ocx files using regsvr32.exe in a batch file. However i do not know how to write the commands to register each dll as these dlls are in a folder and not in the system32 originally.

please help!

kind regards,

HP
 
Would such a batch file not work?:

regsvr32.exe c:\windows\system\ocx1.ocx
regsvr32.exe c:\windows\system\ocx2.ocx
regsvr32.exe c:\windows\system\ocx3.ocx
etc.

Russell.
 
Sorry, I meant to ask if you could simply change the patch of the OCX when registering it at the command prompt?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top