I've written an application that uses a universal file chooser routine (in .dll) to obtain required input files from the user at run time. One attribute of this file chooser is that it accepts dragged-and-dropped files. The problem is that output files that get created by my application (sometimes by routines I call from my application) don't have a home. They get created in changeable locations, typically c:Winnt or subfolder under here. Although the help text cautioned that it wouldn't work, I tried issuing a "CD c:dragndroppedfilefolder" command via the systemqq function, without success. Is there any way that I can change the current directory so files created by my application get created in the same directory (folder) as the input files?
Thanks, Jack M. O'Leary