Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/01/2002, 06:46
Avatar de DanielRey
DanielRey
Usuario no validado
 
Fecha de Ingreso: enero-2001
Ubicación: Mendoza
Mensajes: 630
Antigüedad: 23 años, 3 meses
Puntos: 1
Re: Instalar fondo de escritorio html

<BLOCKQUOTE><font size=1 face=arial>Citando:<hr height=1 noshade>WSHShell.Popup &quot;Establecer el valor HKCU\MyRegKey\Entry a REG_DWORD 2&quot;
WSHShell.RegWrite &quot;HKCU\MyRegKey\Entry&quot;, 2, &quot;REG_DWORD&quot;

WSHShell.Popup &quot;Establecer el valor HKCU\MyRegKey\Entry\Value1 a REG_BINARY 3&quot;
WSHShell.RegWrite &quot;HKCU\MyRegKey\Entry\Value1&quot;, 3, &quot;REG_BINARY&quot;

WSHShell.Popup &quot;Eliminar el valor HKCU\MyRegKey\Entry\Value1&quot;
WSHShell.RegDelete &quot;HKCU\MyRegKey\Entry\Value1&quot;

WSHShell.Popup &quot;Eliminar la clave HKCU\MyRegKey\Entry&quot;
WSHShell.RegDelete &quot;HKCU\MyRegKey\Entry\&quot;

WSHShell.Popup &quot;Eliminar la clave HKCU\MyRegKey&quot;
WSHShell.RegDelete &quot;HKCU\MyRegKey\&quot;

' ************************************************** ******************************
' *
' * Bienvenido
' *
Sub Welcome()
Dim intDoIt

intDoIt = MsgBox(L_Welcome_MsgBox_Message_Text, _
vbOKCancel + vbInformation, _
L_Welcome_MsgBox_Title_Text )
If intDoIt = vbCancel Then
WScript.Quit
End If
End Sub [/QUOTE]

Bueno, si conoces un pelín de VisualBasicScript, verás que es muy sencillo manipular las claves del registro con un archivo .vbs, al cual llamas tal como lo harías con un .bat

Suerte ;)