I tryed but I cannot find something similar. How can I redirect a file containing special characters to a variable with CMD inside a batch-file.
Text:
MSCF T , >
8Oíà ~ /2Wõ
CK¾M-.NLOUÓÕ
code:
setlocal EnableDelayedExpansion
set /p msg=<[file]
echo !msg!
output:
MSCF
Is being some redirection done because of the MSCF characters but not sure what's happening...