Corrige le test du répertoire mes documents

sessionscripts
Daniel Berteaud 13 years ago
parent 14372fa6e0
commit 66dfa8b4e4
  1. 10
      root/home/e-smith/files/shares/tools/files/scripts/session/010signature.bat

@ -1,5 +1,11 @@
if exist "\\%IPASSERELLE_IP%\tools\signatures\%USERNAME%" (
REM Windows 200 / XP / 2003
if not exist "%USERPROFILE%\Documents" (
set DOC=Mes Documents
if exist \\%IPASSERELLE_IP%\tools\signatures\%USERNAME% (
if exist %USERPROFILE%\Documents set DOC=Documents
)
REM Windows Vista / 7
if exist "%USERPROFILE%\Documents" (
set DOC=Documents
)
xcopy /E /I /Y \\%IPASSERELLE_IP%\tools\signatures\%USERNAME% "%USERPROFILE%\%DOC%\signature"
)

Loading…
Cancel
Save