Can this be done?
If anyone can help, please send me an e-mail...thanks!
/u - Unregister server
/s - Silent; display no message boxes
/c - Console output
/i - Call DllInstall passing it an optional [cmdline]; when used
with /u calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with
/i
For batch file usage, you almost always would want to use the /s
switch to suppress message boxes. To register a dll, use something
like this in a batch file:
regsvr32 /s c:\winnt\system32\myown.dll
To unregister a dll, use:
regsvr32 /s /u c:\winnt\system32\myown.dll
"Prekb" <pr...@aol.com> wrote in message
news:19991217072227...@ng-cv1.aol.com...
: I need to write a batch program that registers and unregisters
@echo off
c:\windows\system\regsvr32 /s c:\windows\system\My_progam.ocx
Of course you need to copy the file to c:\windows\system first
Gene
Prekb wrote in message <19991217072227...@ng-cv1.aol.com>...