@echo off
setlocal
pushd "%~dp0.." || exit /b 1
".\dxprint.exe" -auto-configure-device
set "dxprint_exit=%errorlevel%"
popd
echo(
if not "%dxprint_exit%"=="0" echo Configurarea automata a esuat. Cod iesire: %dxprint_exit%
pause
exit /b %dxprint_exit%
