Create a default email_modif.txt for outlook if it doesn't already exist

tags/0.2.39_el5 0.2.39_el5
Daniel Berteaud 10 years ago
parent 76f1f1c435
commit 36812a326e
  1. 3
      root/home/e-smith/files/shares/tools/files/scripts/session/010signature.bat

@ -61,6 +61,9 @@ if "%OLSIG%" EQU "yes" (
if exist "%APPDATA%\Microsoft\Signatures\email_modif.html" (
del /Q /F "%APPDATA%\Microsoft\Signatures\email_modif.htm"
rename "%APPDATA%\Microsoft\Signatures\email_modif.html" "email_modif.htm"
if not exist "%APPDATA%\Microsoft\Signatures\email_modif.txt" (
copy /Y "%APPDATA%\Microsoft\Signatures\email.txt" "%APPDATA%\Microsoft\Signatures\email_modif.txt"
)
)
if exist "%APPDATA%\Microsoft\Signatures\email_modif.txt" (
echo -- > "%APPDATA%\Microsoft\Signatures\email_modif.rtf"

Loading…
Cancel
Save