From 588969ae5f7ca7d9c9cade09e47adbe057775e0e Mon Sep 17 00:00:00 2001 From: Azim Muradov Date: Tue, 13 Jan 2026 15:43:48 +0300 Subject: [PATCH] fix: Path to "Desktop" folder on Windows XP (#1625) Fix path to "Desktop" folder to work correctly with different locales on Windows XP. --- src/define.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/define.sh b/src/define.sh index d8050cd..555f9d7 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1766,7 +1766,7 @@ prepareInstall() { echo "" echo "Call Domain.MoveHere(LocalAdminADsPath, \"$username\")" echo "" - echo "Set oLink = WshShell.CreateShortcut(WshShell.ExpandEnvironmentStrings(\"%userprofile%\\Desktop\\Shared.lnk\"))" + echo "Set oLink = WshShell.CreateShortcut(WshShell.SpecialFolders(\"Desktop\") & \"\\Shared.lnk\")" echo "With oLink" echo " .TargetPath = \"\\\\host.lan\\Data\"" echo " .Save"