1
0
鏡像自 https://github.com/dockur/windows.git 已同步 2026-06-12 13:19:34 +08:00

fix: Path to "Desktop" folder on Windows XP (#1625)

Fix path to "Desktop" folder to work correctly with different locales on Windows XP.
此提交包含在:
Azim Muradov
2026-01-13 15:43:48 +03:00
提交者 GitHub
父節點 c7aac1edcf
當前提交 588969ae5f
+1 -1
查看文件
@@ -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"