echo off
for /F "delims=," %%i in ('ipconfig /all^|find "Adresse IP"') do set ADRIP=%%i
set ADRIP=%ADRIP:~37,15%
for /F "delims=," %%i in ('time /t') do set heure1=%%i
for /F "delims=," %%j in ('date /t') do set date1=%%j
set date1=%date1:~5,10%
echo %date1% %heure1% %ADRIP% %COMPUTERNAME% %USERNAME%>> \\serveurnt\log$\LogNT.txt |