I have this code that reads the content of a file and set all the contents in a variable.
for /f "tokens=1,*" %%h in ('type C:\user\userfiles\title.txt') do (
set title=%%h
)echo %title%
Example contents of title.txt
AAAA BBBB CCCC
Now, It always display the word before the first space. How to display all contents of a file in variable title?