Saved Bookmarks
| 1. |
Solve : How to set result of a command into a variable?? |
|
Answer» I would like to execute a DOS COMMAND and have its output string being SAVED into a VARIABLE in a batch file. How can I do it?for /f "delims=" %%A in ('mycommand') do SET output=%%A |
|