parent
3526142cc8
commit
a09210157b
4 changed files with 21 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||||
|
{ |
||||||
|
|
||||||
|
my $ip = $InternalInterface{'IPAddress'}; |
||||||
|
$OUT .=<<"EOF"; |
||||||
|
SET IPASSERELLE_IP=$ip |
||||||
|
for /F "tokens=*" %%f in ('dir /B /ON \\\\%IPASSERELLE_IP%\\tools\scripts\session\*.bat') do call %%f |
||||||
|
|
||||||
|
EOF |
||||||
|
|
||||||
|
# Unix2dos |
||||||
|
$OUT =~ s/\n/\r\n/g; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,7 @@ |
|||||||
|
set DOC=Mes Documents |
||||||
|
if exist \\%IPASSERELLE_IP%\tools\signatures\%USERNAME% ( |
||||||
|
if exist %USERPROFILE%\Documents ( |
||||||
|
set DOC=Documents |
||||||
|
) |
||||||
|
xcopy /E /I /Y \\%IPASSERELLE_IP%\tools\signatures\%USERNAME% "%USERPROFILE%\%DOC%\signature" |
||||||
|
) |
Loading…
Reference in new issue