Re: run a new application



Jim George writes:
There is no shell in Windows,

Well, there is obviously no POSIX shell, but there sure is an
interactive command interpreter, cmd.exe. (I am ignoring command.com
in the obsolete Win9x/ME.)

and there is no argument parsing of the command line, AFAIK

The system() function in the Microsoft C library *does* pass the
string to cmd.exe to be executed by that. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt_system.2c_._wsystem.asp
Thus I/O redirection should work.

--tml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]