Change wallpaper from command line

G

Guest

Does exist a way to change wallpaper from command line ? This depends on
Explorer.exe or a dll ?
 
G

Guest

Tnx a lot for the tips ^^. I've started working on it. I'm not expert in
using win reg so I think I've already missed something... here's my prompt
result:

C:\Documents and Settings\Max>c:/windows/system32/reg.exe add
HKEY_CURRENT_USER/Control Panel/Desktop" /v Wallpaper /t reg_sz /d
"C:\Documents and
Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg"

Errore: nome chiave non valido > it means: invalid key name, but I think
it's right :|
 
D

David Candy

Regkeys are seperated by baclkslashes.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Xam said:
Tnx a lot for the tips ^^. I've started working on it. I'm not expert in
using win reg so I think I've already missed something... here's my prompt
result:

C:\Documents and Settings\Max>c:/windows/system32/reg.exe add
HKEY_CURRENT_USER/Control Panel/Desktop" /v Wallpaper /t reg_sz /d
"C:\Documents and
Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg"

Errore: nome chiave non valido > it means: invalid key name, but I think
it's right :|




Ramesh said:
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Does exist a way to change wallpaper from command line ? This depends on
Explorer.exe or a dll ?
 
G

Guest

Tnx a lot guys, now it seems to work, but the command works fine only with
bmp...
How can I use jpg as wallpaper? (I think i need to convert them always using
command from console)

David Candy said:
Regkeys are seperated by baclkslashes.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Xam said:
Tnx a lot for the tips ^^. I've started working on it. I'm not expert in
using win reg so I think I've already missed something... here's my prompt
result:

C:\Documents and Settings\Max>c:/windows/system32/reg.exe add
HKEY_CURRENT_USER/Control Panel/Desktop" /v Wallpaper /t reg_sz /d
"C:\Documents and
Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg"

Errore: nome chiave non valido > it means: invalid key name, but I think
it's right :|




Ramesh said:
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Does exist a way to change wallpaper from command line ? This depends on
Explorer.exe or a dll ?
 
R

Ramesh, MS-MVP

See again
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Tnx a lot guys, now it seems to work, but the command works fine only with
bmp...
How can I use jpg as wallpaper? (I think i need to convert them always using
command from console)

David Candy said:
Regkeys are seperated by baclkslashes.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Xam said:
Tnx a lot for the tips ^^. I've started working on it. I'm not expert in
using win reg so I think I've already missed something... here's my
prompt
result:

C:\Documents and Settings\Max>c:/windows/system32/reg.exe add
HKEY_CURRENT_USER/Control Panel/Desktop" /v Wallpaper /t reg_sz /d
"C:\Documents and
Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg"

Errore: nome chiave non valido > it means: invalid key name, but I
think
it's right :|




Ramesh said:
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Does exist a way to change wallpaper from command line ? This depends
on
Explorer.exe or a dll ?
 
G

Guest

Sorry, I think I'd worked harder on my english at school, but I can't catch
nothing about how to convert bmp in jpg in that link:
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d
And
http://groups.google.com/groups?as_umsgid=20DC4C80-726C-47E6-8B16-3BD61DAEFE98@microsoft.com
does not work...

ç_ç

Ramesh said:
See again
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Tnx a lot guys, now it seems to work, but the command works fine only with
bmp...
How can I use jpg as wallpaper? (I think i need to convert them always using
command from console)

David Candy said:
Regkeys are seperated by baclkslashes.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Xam said:
Tnx a lot for the tips ^^. I've started working on it. I'm not expert in
using win reg so I think I've already missed something... here's my
prompt
result:

C:\Documents and Settings\Max>c:/windows/system32/reg.exe add
HKEY_CURRENT_USER/Control Panel/Desktop" /v Wallpaper /t reg_sz /d
"C:\Documents and
Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg"

Errore: nome chiave non valido > it means: invalid key name, but I
think
it's right :|




:

http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Does exist a way to change wallpaper from command line ? This depends
on
Explorer.exe or a dll ?
 
R

Ramesh, MS-MVP

Xam,

I just came across this software which allows you convert images to BMP.
Haven't tested it yet, but thought it may help.
http://www.softinterface.com/Convert-Image/Convert-JPG.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Sorry, I think I'd worked harder on my english at school, but I can't catch
nothing about how to convert bmp in jpg in that link:
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/a8621ff381fa330d
And
http://groups.google.com/groups?as_umsgid=20DC4C80-726C-47E6-8B16-3BD61DAEFE98@microsoft.com
does not work...

ç_ç
 
Joined
Nov 15, 2012
Messages
1
Reaction score
0
reg add "HKCU/Control Panel/Desktop" /v Wallpaper /d "C:\Documents and Settings\Max\Documenti\Immagini\Sfondi\jlo\lopez1331280x1024.jpg" /f
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top