Re-structure-text - pasting crapped it up..

This commit is contained in:
Keld Norman 2016-07-25 14:25:42 +02:00
parent e00f28c11d
commit 8f92c12660
1 changed files with 3 additions and 2 deletions

View File

@ -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 )