I'm trying to put a pipe in a variable. However, i can't seem to.
If i do set elfheader=|ELF
, i just get:
"'ELF' is not recognized as an internal or external command, operable program or batch file."
This is beacuse batch executes things literally.
I've tried something like:
set elfheader=(
|ELF
)
and it doesn't work.
I know why this happens, it's beacuse batch executes things literally and does this (however that is not the question i am asking):
"okay, oh, we want to set a variable. currently (... oh, pipe. so set that to ( and let's go execute the next command. hmm... what is "ELF"? what?"
TL;DR/To clarify, i am trying to put "|ELF" in a variable, in the batch programming language. However, it fails.
EDIT: This is not to clarify what can be used. I want to put that in a variable, not know what can not be used. I want to avoid that.