On Mar 1 09:58, Muzero wrote:
> When i try to compile and execute a simple program like this:
>
> int main()
> {
> system("dir");
> return 0;
> }
"dir" is a cmd.exe builtin. Try `system("cmd /c dir");'
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:[email protected]
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/