File size: 318 Bytes
2cc7a05 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | @echo off
:: Check if install.dat exists
if not exist install.dat (
echo install.dat file not found!
pause
exit /b 1
)
:: Read the cuda_version from install.dat
for /f "tokens=2 delims==" %%A in ('findstr "cuda_version" install.dat') do set CUDA_VERSION=%%A
call scripts\update_%CUDA_VERSION%.bat
pause
|