I use fwh+harbour and need to copy files inside my app.
I try to do on this way , not work:
copy file "c:\*.dbf " to "d:\*.dbf"
not work?!
need help urgent!
thanks a lot
#include "Directry.ch"
FUNCTION MAIN()
LOCAL aDir := DIRECTORY( "*.dbf" )
LOCAL i
FOR i = 1 TO LEN( aDir )
COPY FILE ( "c:\" + aDir[ i, F_NAME ] ) TO ( "d:\" + aDir[ i, F_NAME ] )
NEXT
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 87 guests