This appears to be a simple bug in __dbcopy(), it can easily be fixed to explicitly add the CURRENT PATH to the TARGET file name if the target file does not include path.
Ron -------------------------------------------------- From: "Vicente Guerra" <[email protected]> Sent: Thursday, August 20, 2009 8:45 AM To: "Ella Stern" <[email protected]> Cc: "xharbour developer list" <[email protected]> Subject: Re: [xHarbour-developers] COPY TO OutFile > On Thu, 20 Aug 2009, Ella Stern wrote: >> 5. here I have the followings: >> - table1.dbf is created in .\MYAPP >> - table2.dbf is in .\MYAPP\MYSUB as a result of overwriting the "old" >> table2.dbf found in this subfolder ( the file header info shows when the >> "old" file was created ) > > IMHO, SET PATH should be only to open tables in different > directories, not for overwrite existing ones. > > Clipper (5.2e) writes in current directory, not in SET PATH . > > Atte. > Vic > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xHarbour-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

