Ron:
We just came across an ugly little problem in __dbCopy().
I traced it way back to Aug 2009:
2009-08-27 20:53 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com>
...
* source/rdd/dbcmd.c
* Hack to __DBCOPY() to explictly prefix target file with the current path
to to avoid inadvertant override of file in the SET PATH folder.
/*
NOTE: RDD authors please review if this is the correct place for
such
hack.
*/
I seems it's adding "\\" instead of what I assume was the intention
of "\". Could you please take a look?
Here's a stand-alone sample (just replace customer.dbf with any dbf).
Just run it in C:\ (or any drive as long as it's the root to show
the problem):
//--cut
Function Main()
SetMode( 25, 80 )
cls
Use Customer
Copy To TempCust // fails when ran from the root (or path mapped to root)
? CurDir(), File( "TempCust.dbf" )
Return nil
//--cut
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers