elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Arreglado, de nuevo, el registro del warzone (wargame) de EHN


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  programa batch para cambiar fondo y screensaver
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: programa batch para cambiar fondo y screensaver  (Leído 10,821 veces)
Kalister

Desconectado Desconectado

Mensajes: 18


headbangers


Ver Perfil
programa batch para cambiar fondo y screensaver
« en: 6 Julio 2010, 00:47 am »

hola, buscando en foros encontre estos codigos:
Código:
@echo off
call :quiet>nul 2>&1
goto :EOF
:quiet
:: Configure Wallpaper
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%SystemRoot%\wallpaper.bmp"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 0
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 2
:: Configure the screen saver.
REG ADD "HKCU\Control Panel\Desktop" /V SCRNSAVE.EXE /T REG_SZ /F /D "%SystemRoot%\System32\screensaver.scr"
REG ADD "HKCU\Control Panel\Desktop" /V ScreenSaveActive /T REG_SZ /F /D 1
:: Set the time out to 900 seconds (15 minutes).
REG ADD "HKCU\Control Panel\Desktop" /V ScreenSaveTimeOut /T REG_SZ /F /D 900
:: Set the On resume, password protect box
REG ADD "HKCU\Control Panel\Desktop" /V ScreenSaverIsSecure /T REG_SZ /F /D 1
:: Remove the user's ability to see the Screen Saver, background, and appearance tabs of Display Properties.
rem REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V NoDispScrSavPage /T REG_DWORD /F /D 1
rem REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V NoDispBackgroundPage /T REG_DWORD /F /D 1
rem REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V NoDispAppearancePage /T REG_DWORD /F /D 1
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Pero hay un problema,modifique el wall e inicie esos codigos y el fondo de escritorio continuo en color, osea sin imagen
¿como puedo corregir esto?


En línea

" Gissel why I forget how to love you if everyday I think about you
flony


Desconectado Desconectado

Mensajes: 583



Ver Perfil
Re: programa batch para cambiar fondo y screensaver
« Respuesta #1 en: 6 Julio 2010, 13:12 pm »

Citar
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%SystemRoot%\wallpaper.bmp"
en la parte de
Citar
wallpaper.bmp
y cambiando esa parte por la fotito tuya?...probaste?
Citar
tufoto.bmp
edito
y en la`parte de
Citar
REG ADD "HKCU\Control Panel\Desktop" /V SCRNSAVE.EXE /T REG_SZ /F /D "%SystemRoot%\System32\screensaver.scr"
poner el tuyo en
Citar
screensaver.scr
y respeta las comillas tanto del .bmp y del .scr


« Última modificación: 6 Julio 2010, 16:36 pm por flony » En línea

si un problema no tiene solucion entonces no es un problema...es algo inevitable
Kalister

Desconectado Desconectado

Mensajes: 18


headbangers


Ver Perfil
Re: programa batch para cambiar fondo y screensaver
« Respuesta #2 en: 6 Julio 2010, 18:02 pm »

CLaro que si .. no soy tan novato, guarde la image en %systemroot% pero creo que ya se cual es el problema..
mas tarde veo como me resultò
En línea

" Gissel why I forget how to love you if everyday I think about you
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Programa para batch
Scripting
Dany3j 6 4,531 Último mensaje 3 Julio 2011, 21:16 pm
por WaAYa HaCK
[Solucionado][Batch] Programa para cambiar dispositivos de sonido
Scripting
Anonymous250 8 17,415 Último mensaje 19 Octubre 2016, 20:13 pm
por dablah
BATCH: Cambiar parametros de regedit para adaptadores de red
Scripting
d3xf4ult 2 5,852 Último mensaje 25 Enero 2013, 13:48 pm
por d3xf4ult
[Batch] [C++] Programa para efecto Typewritter
Scripting
the-bird-of-the-hermes 0 1,844 Último mensaje 7 Marzo 2014, 01:44 am
por the-bird-of-the-hermes
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines