From 975dbba88f39c4dcef290574bcada4c21f374305 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 18 Dec 2022 16:16:54 +0100 Subject: [PATCH] Seafile client remaps Desktop #70 --- tools/logon.cmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/logon.cmd b/tools/logon.cmd index ad7e210..c9ac825 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -92,8 +92,7 @@ powershell -command %TOOLS%\scripts\set-recyclebin.ps1 echo remapping Desktop folder to standard location ... reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" ^ - /v Desktop /t REG_EXPAND_SZ /d "%USERPROFILE%\Desktop" /f 1>nul - + /v Desktop /t REG_EXPAND_SZ /d "%%USERPROFILE%%\Desktop" /f 1>nul rem ================================================ rem USER TWEAKS AND CONFIG FILES (this runs always)