echo Úte%-%time%-

December 30, 2011 at 20:07:57
Specs: Windows XP
want to store a commad output in a variable and print it

See More: echo Úte%-%time%-

Report •

December 31, 2011 at 07:15:39
What you want to achieve is not fully clear, anyway to store the output of a command (just ONE line) into a variable the For /F statement must be coded

for /F "delims=" %%i in ('Here the command') do set var=%%i

Report •
Related Solutions

Ask Question