I'm trying to pipe the output of a program (a string) into a variable. When I try the below code, the command runs but the variable isn't created:
C:\Programlocation\program.exe | set /p variable=
This seems like it should be pretty straightforward...
Thanks,
J