redirection of command.com
-
when we double click a bat file, we see a DOS window, the program is command.com my question is: can we redirect standard output, error and input streams of command.com to my own app? i.e. in my app, i use CreatePipe(...) for command.com and send command line to it to execute the coomad line then read responding from it to my app. any links or hints for my question? thanks includeh10
-
when we double click a bat file, we see a DOS window, the program is command.com my question is: can we redirect standard output, error and input streams of command.com to my own app? i.e. in my app, i use CreatePipe(...) for command.com and send command line to it to execute the coomad line then read responding from it to my app. any links or hints for my question? thanks includeh10
includeh10 wrote: when we double click a bat file, we see a DOS window, the program is command.com my question is: can we redirect standard output, error and input streams of command.com to my own app? i.e. in my app, i use CreatePipe(...) for command.com and send command line to it to execute the coomad line then read responding from it to my app. any links or hints for my question? Try this site: Click[^] especially: http://www.robvanderwoude.com/redirection.html[^]
-
includeh10 wrote: when we double click a bat file, we see a DOS window, the program is command.com my question is: can we redirect standard output, error and input streams of command.com to my own app? i.e. in my app, i use CreatePipe(...) for command.com and send command line to it to execute the coomad line then read responding from it to my app. any links or hints for my question? Try this site: Click[^] especially: http://www.robvanderwoude.com/redirection.html[^]
i need to redirect to my app, not a file. in other words, command.com is invisible, i can not find clue on the web-site. is it ur site? it looks great. includeh10
-
when we double click a bat file, we see a DOS window, the program is command.com my question is: can we redirect standard output, error and input streams of command.com to my own app? i.e. in my app, i use CreatePipe(...) for command.com and send command line to it to execute the coomad line then read responding from it to my app. any links or hints for my question? thanks includeh10
i created a class to do just that: http://codebeetle.com/page.php?id=33[^]