title: How to get the content of a text file using command FOR on a batch file
body: <p>I have a text file where the contents have a lot of NUL or spaces between data:</p>
  <p>[nul][nul][nul][nul]Name [nul][nul][nul][nul][nul][nul]surname</p>
  <p>The data inside of the text file is always different.</p>
  <p>I have searched and tested many similar questions using for /F &quot;usebackq delims=&quot; %%a in (&quot;%file%&quot;) do echo %%a and similar commands, but i always get empty results.</p>
  <p>Please can anyone help?</p>