And now try this withou the use of COMSPEC, and it should work. The problem is the implicit SW_HIDE (0) you were using.
Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal