Principales respuestas
Ejecutar regsrv32 desde script

Pregunta
-
Respuestas
-
Set WshShell = WScript.CreateObject("WScript.Shell")
REM Nota una comilla simple antes del %
cadena = " REGSVR32" & """ & "'%'" & "systemroot" & "%" & "\system32\MSCOMCTL.OCX" & """ & "/s"
WshShell.Run (cadena)
wscript.echo "OK"no marca error ni mensaje alguno pero va por alli
Todas las respuestas
-
Set WshShell = WScript.CreateObject("WScript.Shell")
REM Nota una comilla simple antes del %
cadena = " REGSVR32" & """ & "'%'" & "systemroot" & "%" & "\system32\MSCOMCTL.OCX" & """ & "/s"
WshShell.Run (cadena)
wscript.echo "OK"no marca error ni mensaje alguno pero va por alli
-
-
Hola te cuento que logre que ande y es de eta manera :
On Error Resume Next
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
Call WshShell.run ("regsvr32 /?")Ahora no logro cargar esta parte de parametro.-
"%systemroot%\system32\webctlsU.ocx" /s
-