Update (2019-10-30): The scripts were moved to GitHub.
This article introduces two PowerShell scripts that help you find the wallpaper location in Windows 7 and later.
Read the rest of this entry
Previously, The WinHelpOnline Blog published two scripts in the VBScript language, one for retrieving the location of Wallpaper on Windows 7 (4 February 2010) and one for doing so on Windows 8.x (25 October 2013). These scripts, however, have a problem: If there is a non-English character (e.g. Chinese characters) in the file name path, they potentially fail. Although Windows innately supports Unicode, VBScript doesn’t. Only programs based on .NET Framework are Unicode-compliant by nature. Fortunately, Windows PowerShell is built on .NET Framework and benefits from innate Unicode support. So, all I had to do was to rewrite the script in the PowerShell language.