Read a file and use the content

Use the following command to read the file version.txt en process each line.

The delim== will look for = as delimiter and if that is not in the line, will read a complete line For /F "delims==" %%V IN (VERSION.TXT) DO (  ECHO Installing version %%V   REG ADD HKCU\Software\_GDFSUEZEPNL /V ManagementSystemDot /D "%%V" /F )