PROTECTED]
Subject: RE: COPY FILE insists on using included file
I've not been able to get the VFP copy command to ignore compiled in files:
I'll use the API, or Shell object to handle the copy
API can be found here: http://www.news2news.com/vfp/?group=-1function=14
Shell Object is:
LOCAL
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
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,
insists on using included file
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
4 matches
Mail list logo