mirror of
https://github.com/dockur/windows.git
synced 2026-01-15 02:25:20 +00:00
Fix path to "Desktop" folder to work correctly with different locales on Windows XP
This commit is contained in:
parent
c7aac1edcf
commit
0ac7aa61f8
@ -1766,7 +1766,7 @@ prepareInstall() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Call Domain.MoveHere(LocalAdminADsPath, \"$username\")"
|
echo "Call Domain.MoveHere(LocalAdminADsPath, \"$username\")"
|
||||||
echo ""
|
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 "With oLink"
|
||||||
echo " .TargetPath = \"\\\\host.lan\\Data\""
|
echo " .TargetPath = \"\\\\host.lan\\Data\""
|
||||||
echo " .Save"
|
echo " .Save"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user