Hey. I need to be able to run a program in dos, and return the output. For example, I open a dos prompt. I type in "cd C:\Program Files\App" then "app.exe". This would run C:\Program Files\App\app.exe". Then app.exe outputs "app.exe opened successfully". I tried working from an alias called _ping. It uses dos to ping a host and return the resolve time. However, i can only run one command with that code. And i have to be able to cd to the directory, then run the app (requires 2 commands). So any idea how to do this? I think i could use a .bat script, but i dont know how to return the output. Thanks in advance!


-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net