: I tried things you told me,the code gets compiled but it passes the command line as if it is a comment :(
: what should i do?
: FUNCTION DosCmd(Cmd : String) : Boolean;
: Exec(GetEnv('COMSPEC'),'/C '+Cmd);
: DosCmd := Boolean(DosError);
: what is wring with this function? i exactly typed above ,i just replaced
: format a: instead of cmd and the other things are just above function
: what is wring with it?(by the way what is that copspec in single''?
Did you also reduce the heap size?
COMSPEC is the name of an enviromental variable, which points to the command interpreter.