I am trying to create an input file from the GUI which is done by calling the OUTFILE filehandle. Then, I want to take this file and pass it to a .exe program which reads the title of the file and creates output files. This is where I call system() and try to output it to a specific directory. Before calling system, I had to specify the folder where the .exe file is if not, perl looks into the default directory and does nothing. I hope this helps. As for a better example, I wish I could give you one better but I'm having a hard time working it out.