Corrige le test du répertoire mes documents
This commit is contained in:
parent
14372fa6e0
commit
66dfa8b4e4
|
@ -1,5 +1,11 @@
|
|||
set DOC=Mes Documents
|
||||
if exist \\%IPASSERELLE_IP%\tools\signatures\%USERNAME% (
|
||||
if exist %USERPROFILE%\Documents set DOC=Documents
|
||||
if exist "\\%IPASSERELLE_IP%\tools\signatures\%USERNAME%" (
|
||||
REM Windows 200 / XP / 2003
|
||||
if not exist "%USERPROFILE%\Documents" (
|
||||
set DOC=Mes 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…
Reference in New Issue
Block a user