标签:
copy /y "\\lnmail1\SYSVOL\lntf.com\Policies\{22E1C422-69C1-490A-A278-CC61DEE831DF}\User\Scripts\Logon\Azul.bmp" "%userProfile%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp"
set regfile="%userProfile%\Local Settings\temp\desk.reg"
echo REGEDIT4 >%regfile%
echo [HKEY_CURRENT_USER\Control Panel\Desktop] >>%regfile%
echo "WallpaperStyle"="2" >>%regfile%
set var="%userProfile%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp"
set var=%var:\=\\%
echo "Wallpaper"=%var% >>%regfile%
regedit /s %regfile%
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
标签:
原文地址:http://www.cnblogs.com/lbnnbs/p/4781451.html