79787517

Date: 2025-10-10 16:11:10
Score: 3
Natty:
Report link

Just do this and you have no problem whatsoever.

@echo off

for /f %%s in (version.txt) do set VERSION=%%s

echo %VERSION%

Or this:

for /f "usebackq" %%s in (`type version.txt`) do set VERSION=%%s

echo %VERSION%

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @echo
  • Low reputation (1):
Posted by: Ben Mar