diff --git a/scripts/autoconfig.cmd b/scripts/autoconfig.cmd index 3b4dce0..8485918 100644 --- a/scripts/autoconfig.cmd +++ b/scripts/autoconfig.cmd @@ -8,6 +8,7 @@ set LOG=%SCRIPTS%\autoconfig.txt set SCRIPT_SETTINGS=%TOOLS%\scripts\settings.cmd set COMPANY_SETTINGS=%TOOLS%\company\settings.cmd +rem start logging ... del /F /Q %LOG% 1>nul 2>nul if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 shift /1 diff --git a/tools/logon.cmd b/tools/logon.cmd index 5c39b93..ef5fbbd 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -14,6 +14,7 @@ set EMSETTINGS_DONE="%LOCALAPPDATA%"\.emsettings_done set EMCLIENT_CONFIG=%TOOLS%\scripts\config\emclient-defaults.xml set STARTMENU=%APPDATA%\Microsoft\Windows\Start Menu\Programs set STARTMENU_PUBLIC=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs +set LOG="%LOCALAPPDATA%"\logon.txt rem =================== rem DEFAULTS @@ -34,6 +35,11 @@ set ms_tcpip6=0 set ms_implat=0 set ms_server=0 +rem start logging ... +del /F /Q %LOG% 1>nul 2>nul +if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 +shift /1 + echo ####### %0 ####### rem ===================