Question: making Maple see the directory of specific program?

If I am running Windows is there any way to make Maple see the directory of an external program like for instance Geogebra? 

I have tried with

file := fopen("inputfile.ggb",WRITE, TEXT);

execute; fprintf(file, "line((2,3),(4,6)\n");
 system[launch]("Geogebra.exe testfile.ggb"); 

Where line is a command in Geogebra, to draw a straight line.  

But I get an error where Maple claims it cannot see Geogebra. 

Any idea how to fix this?  

Please Wait...