I would like to run commands on the Command Prompt window and capture their output. What is the best way to do that ? (Shell function doesn't work for me, cause it doesn't return the output).

Yaron.