David Gamey <[EMAIL PROTECTED]> skribis: > If I call system with something like "dir ... /s/b" or even just "dir" I get > a return of -1. Calling it on a batch file containing the same command works > just fine.
Probably because dir is a shell command rather than a program. -- Barry.SCHWARTZ ĉe chemoelectric punkto org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html)
pgpBWJQj4qT1o.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group