I might try wrapping the file array in FULLPATH and do something like: <psuedo-code> x=adir(myfilespec,laFiles) targetpath=lcPathNet + lcCurDir FOR i=1 to x source=fullpath(laFiles[I,1] ) target=targetpath + laFiles[I,1] COPY (source) TO (target) ENDFOR
[EMAIL PROTECTED] wrote: > Hi, > > Does anyone know you can force VFP9 to respect a fullpathed COPY FILE command > instead of ignoring the path and insisting on copying from an included file? > > e.g. > > Copy File (lcDatSet + lcCurDir + laFiles[I,1]) To (lcPathNet + lcCurDir + > laFiles[I,1]) > > is ignoring an ico file found in lcDatSet + lcCurDir and instead says file > not found (C:\vfp\appname\Graphics\appname.ico) just because the ico is > included in the exe. Appname.ico is in the lcDatSet + lcCurDir folder and > needs to be copied. > > Thanks, > > Henry > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.