I am attempting to write a KiXtart script that sets the desktop wallpaper. I am using the SETWALLPAPER function. When I run the script I do see an error code of 0 flash up, but the wallpaper does not change. I placed the .BMP file on my machine in the root of C: (so the file is there). I am a local admin of my test machine. Here is the code:
Code:
  
WriteValue("HKEY_CURRENT_USER\Control Panel\Desktop", "TileWallpaper", "2", "REG_SZ")
SetWallpaper ("C:\HSHWP.BMP", 1)
sleep 3



Any suggestions would be appreciated.

Thanks,

Matt