- Aug
- 2,134
- 92
Hi,
I'm using;
TCC 11.00.50 Windows XP [Version 5.1.2600]
TCC Build 50 Windows XP Build 2600 Service Pack 3
I want to change the Desktop Wallpaper from a batch file. I do this with the following;
I run REGEDIT.EXE and see that the change has indeed been made.
According to the help file,
"a broadcast message is sent to all applications when the change is made, so that any application monitoring such messages can respond to the change immediately if it is designed to do so."
Well, the wallpaper does not change. I have tried the following after making the registry change;
but it does not force the change.
If I logoff, and then logon, the wallpaper changes to the .BMP I had placed into the registry.
I can resort to using SetWallPaper from Optimum X, but I would like to keep my reliance on external apps to a minimum.
Is REGSETENV supposed to tell Windows that I have made the change, or am I misunderstanding?
Joe
I'm using;
TCC 11.00.50 Windows XP [Version 5.1.2600]
TCC Build 50 Windows XP Build 2600 Service Pack 3
I want to change the Desktop Wallpaper from a batch file. I do this with the following;
Code:
echo %@regsetenv["HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper",REG_SZ,c:\utils\nasapic.bmp]
According to the help file,
"a broadcast message is sent to all applications when the change is made, so that any application monitoring such messages can respond to the change immediately if it is designed to do so."
Well, the wallpaper does not change. I have tried the following after making the registry change;
Code:
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
If I logoff, and then logon, the wallpaper changes to the .BMP I had placed into the registry.
I can resort to using SetWallPaper from Optimum X, but I would like to keep my reliance on external apps to a minimum.
Is REGSETENV supposed to tell Windows that I have made the change, or am I misunderstanding?
Joe