The question is how do get the cobold program a new file when you run it from the dos command line or from the Run command on the windows Start button? System Exec has two ways to pass parameters to an exe file. One way is all on the command line input - "Excel.exe filename.xls". The other way is via the standard input. If your executable supports neither, then I don't think you'll be able to do what you want. I'm not familiar with the executable you're calling but I would go through their documentation or contact them to see how the program accepts parameters. Also, a lot of programs these days have an ActiveX interface. If your program was written this way, then you can use it's ActiveX properties and methods.