Read file output into a variable -
i have output of file make varabile in batch program. how go doing this? take output of this, php file.php , put variable named %this%. how do that?
[edit] removed tags, question meant provide example batch variable handling only. fact used php example, python file i'm reading output from, or regular executable.
for /f "delims=" %%x in ('php file.php') set "this=%%x"
Comments
Post a Comment