title: Redirecting contents of a file to a variable in command prompt
body: <p>I have a file "file.txt" which contains the output of "dir /s /b *.c"</p>
  
  <p>I want to write this whole content of file.txt in a single variable .</p>
  
  <p>Any ideas?</p>