output redirection to a variable in DOS

March 8, 2011 at 20:45:52
Specs: Windows XP
Output of a dos command i few lins I want to search one word in these few lines basing on which I am going to execute the next command in batch file.I am able to do this by wrinting the output to a text file then searching the word.But i dont want to to write it to a file because it some times risky hence I want to redirect the output to a variable.Please suggest me how to do that

See More: output redirection to a variable in DOS

Report •

March 8, 2011 at 21:01:24

The command processor in modern windows, though mostly compatible with DOS commands, is much enhanced.

Exactly which Operating system are you using?

Report •

March 8, 2011 at 23:20:16
If you post your code somebody my help.

Life is too important to be taken seriously.


Report •
Related Solutions

Ask Question