Could i do something like this without the type command? or with it but i need to store text from a txt file to a %variable% like
set thing=type C:\something\code.txt
But the problem is that the variable is "Type C:\something\code.txt"
not like "hi this is text" from the code.txt
please answer if you know any kind of way to do this thx
example
set serialkey=X234-2345
set yourserialkey=type "C:\something\code.txt"
if %yourserialkey%==serialkey goto success
exit
:success
echo hi!
pause
exit