>Obviously I'm looking for a cheat here. I don't want to have to write a couple of dozen batch files (if I can help it).Hugh,
Perhaps at runtime you can use the low-level I/O functions create a wrapper batch file. In the first line, write out a CD followed by your directory and then the second line can be the call to launch the Dos app. Then after closing the handle to the batch file, launch it from VFP.
Just a thought.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer