Help with msvc++ and/or system()
Ok, I'm trying to pass dir/b/s *.ext > temp.dat to system().
This works fine when compiled in msvc++ 6. But, it is a console application and does me no good sense I'm trying to get something I can use in pure dos. When I compile with gcc, everything compiles fine but when the above is passed to system(), dir tells me that there are too many parameter - *.ext. Anyone know why this might be?
A simpler solution I believe, if at all possible, is there a way to make pure dos programs in msvc++?
Thanks for all the help.