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

tags/0.2.39_el6 0.2.39_el6
Daniel Berteaud 10 years ago
parent d33b4e19f6
commit c0ac2514a0
  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