added logging to logon.cmd
This commit is contained in:
parent
37a2b18ef0
commit
0cd24b5a02
@ -8,6 +8,7 @@ set LOG=%SCRIPTS%\autoconfig.txt
|
|||||||
set SCRIPT_SETTINGS=%TOOLS%\scripts\settings.cmd
|
set SCRIPT_SETTINGS=%TOOLS%\scripts\settings.cmd
|
||||||
set COMPANY_SETTINGS=%TOOLS%\company\settings.cmd
|
set COMPANY_SETTINGS=%TOOLS%\company\settings.cmd
|
||||||
|
|
||||||
|
rem start logging ...
|
||||||
del /F /Q %LOG% 1>nul 2>nul
|
del /F /Q %LOG% 1>nul 2>nul
|
||||||
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
|
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
|
||||||
shift /1
|
shift /1
|
||||||
|
@ -14,6 +14,7 @@ set EMSETTINGS_DONE="%LOCALAPPDATA%"\.emsettings_done
|
|||||||
set EMCLIENT_CONFIG=%TOOLS%\scripts\config\emclient-defaults.xml
|
set EMCLIENT_CONFIG=%TOOLS%\scripts\config\emclient-defaults.xml
|
||||||
set STARTMENU=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
set STARTMENU=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||||
set STARTMENU_PUBLIC=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
set STARTMENU_PUBLIC=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||||
|
set LOG="%LOCALAPPDATA%"\logon.txt
|
||||||
|
|
||||||
rem ===================
|
rem ===================
|
||||||
rem DEFAULTS
|
rem DEFAULTS
|
||||||
@ -34,6 +35,11 @@ set ms_tcpip6=0
|
|||||||
set ms_implat=0
|
set ms_implat=0
|
||||||
set ms_server=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 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
rem ===================
|
rem ===================
|
||||||
|
Loading…
Reference in New Issue
Block a user