Re: Copy File

2015-05-12 Thread jeff
That's got to be it.  Thanks Fred.  We need to get together!


Sent from my T-Mobile 4G LTE Device

 Original message 
From: Fred Taylor fbtay...@gmail.com 
Date:05/11/2015  21:48  (GMT-07:00) 
To: profoxt...@leafe.com 
Subject: Re: Copy File 

http://xahlee.info/mswin/allowed_chars_in_file_names.html



Fred

On Mon, May 11, 2015 at 8:15 PM, Jeff Johnson j...@san-dc.com wrote:

 Fred:  I can do it manually but not programmatically.   I'm wondering if a
 : in the file name might be the problem.

 On 5/11/2015 6:46 PM, Fred Taylor wrote:

 Rights issue on the destination file/folder?

 Fred

 On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:

  Fred:  the second one is failing because there is no file.  I know the
 lcinitialname exists, but it won't copy to the other folder.  I am
 renaming
 it which is fine.

 This same line of code is in all my apps, but in this one today it
 doesn't
 work.


 On 5/11/2015 4:57 PM, Fred Taylor wrote:

  ? FILE(m.lcinitialname)
 ? FILE(m.lcservername)

  --
 Jeff

 Jeff Johnson
 j...@san-dc.com
 SanDC, Inc.
 (623) 582-0323
 SMS (602) 717-5476
 Fax 623-869-0675

 www.san-dc.com
 www.cremationtracker.com
 www.agentrelationshipmanager.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBkspVw8XgZshkr1T5gG4dsK8Eg1=rkw3vmzpwakkyhvi...@mail.gmail.com
** 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.

Report [OT] Abuse: 
http://leafe.com/reportAbuse/CAJCBkspVw8XgZshkr1T5gG4dsK8Eg1=rkw3vmzpwakkyhvi...@mail.gmail.com
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/50taxabf5j35jubk9hjpagq3.1431429585...@email.android.com
** 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.

Re: Copy File

2015-05-12 Thread Fred Taylor
Yeah, it's been awhile.

Fred

On Tue, May 12, 2015 at 4:19 AM, jeff j...@san-dc.com wrote:

 That's got to be it.  Thanks Fred.  We need to get together!


 Sent from my T-Mobile 4G LTE Device

  Original message 
 From: Fred Taylor fbtay...@gmail.com
 Date:05/11/2015  21:48  (GMT-07:00)
 To: profoxt...@leafe.com
 Subject: Re: Copy File

 http://xahlee.info/mswin/allowed_chars_in_file_names.html



 Fred

 On Mon, May 11, 2015 at 8:15 PM, Jeff Johnson j...@san-dc.com wrote:

  Fred:  I can do it manually but not programmatically.   I'm wondering if
 a
  : in the file name might be the problem.
 
  On 5/11/2015 6:46 PM, Fred Taylor wrote:
 
  Rights issue on the destination file/folder?
 
  Fred
 
  On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:
 
   Fred:  the second one is failing because there is no file.  I know the
  lcinitialname exists, but it won't copy to the other folder.  I am
  renaming
  it which is fine.
 
  This same line of code is in all my apps, but in this one today it
  doesn't
  work.
 
 
  On 5/11/2015 4:57 PM, Fred Taylor wrote:
 
   ? FILE(m.lcinitialname)
  ? FILE(m.lcservername)
 
   --
  Jeff
 
  Jeff Johnson
  j...@san-dc.com
  SanDC, Inc.
  (623) 582-0323
  SMS (602) 717-5476
  Fax 623-869-0675
 
  www.san-dc.com
  www.cremationtracker.com
  www.agentrelationshipmanager.com
 
 
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksqTvcOSXXf=mockifymznvhb8bpsondr02u+6m7jd0...@mail.gmail.com
** 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.


Re: Copy File

2015-05-12 Thread Gianni Turri
The only place where a colon : is allowed is in the drive designator.

If the code you posted is real I don't see any problem.

Jeff, when you say manually you mean using che code from your first email or 
using Windows explorer?

Gianni

On Mon, 11 May 2015 21:48:13 -0700, Fred Taylor fbtay...@gmail.com wrote:

http://xahlee.info/mswin/allowed_chars_in_file_names.html

Fred

On Mon, May 11, 2015 at 8:15 PM, Jeff Johnson j...@san-dc.com wrote:

 Fred:  I can do it manually but not programmatically.   I'm wondering if a
 : in the file name might be the problem.

 On 5/11/2015 6:46 PM, Fred Taylor wrote:

 Rights issue on the destination file/folder?

 Fred

 On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:

  Fred:  the second one is failing because there is no file.  I know the
 lcinitialname exists, but it won't copy to the other folder.  I am
 renaming
 it which is fine.

 This same line of code is in all my apps, but in this one today it
 doesn't
 work.


 On 5/11/2015 4:57 PM, Fred Taylor wrote:

  ? FILE(m.lcinitialname)
 ? FILE(m.lcservername)

  --
 Jeff

 Jeff Johnson
 j...@san-dc.com
 SanDC, Inc.
 (623) 582-0323
 SMS (602) 717-5476
 Fax 623-869-0675

 www.san-dc.com
 www.cremationtracker.com
 www.agentrelationshipmanager.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/etj3la18f5b6nas0eq8tcpcig82v9mh...@4ax.com
** 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.


Re: Copy File

2015-05-12 Thread Jeff Johnson
This is an application where the file names have : and ? in them.  
Problem solved.


On 5/12/2015 7:43 AM, Fred Taylor wrote:

Yeah, it's been awhile.

Fred

On Tue, May 12, 2015 at 4:19 AM, jeff j...@san-dc.com wrote:


That's got to be it.  Thanks Fred.  We need to get together!


Sent from my T-Mobile 4G LTE Device

 Original message 
From: Fred Taylor fbtay...@gmail.com
Date:05/11/2015  21:48  (GMT-07:00)
To: profoxt...@leafe.com
Subject: Re: Copy File

http://xahlee.info/mswin/allowed_chars_in_file_names.html



Fred

On Mon, May 11, 2015 at 8:15 PM, Jeff Johnson j...@san-dc.com wrote:


Fred:  I can do it manually but not programmatically.   I'm wondering if

a

: in the file name might be the problem.

On 5/11/2015 6:46 PM, Fred Taylor wrote:


Rights issue on the destination file/folder?

Fred

On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:

  Fred:  the second one is failing because there is no file.  I know the

lcinitialname exists, but it won't copy to the other folder.  I am
renaming
it which is fine.

This same line of code is in all my apps, but in this one today it
doesn't
work.


On 5/11/2015 4:57 PM, Fred Taylor wrote:

  ? FILE(m.lcinitialname)

? FILE(m.lcservername)

  --

Jeff

Jeff Johnson
j...@san-dc.com
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/55521368.9090...@san-dc.com
** 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.


Re: Copy File

2015-05-11 Thread Jeff Johnson
Fred:  the second one is failing because there is no file.  I know the 
lcinitialname exists, but it won't copy to the other folder.  I am 
renaming it which is fine.


This same line of code is in all my apps, but in this one today it 
doesn't work.



On 5/11/2015 4:57 PM, Fred Taylor wrote:

? FILE(m.lcinitialname)
? FILE(m.lcservername)


--
Jeff

Jeff Johnson
j...@san-dc.com
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com
 



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/5551497a.5020...@san-dc.com
** 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.


Re: Copy File

2015-05-11 Thread Gianni Turri
Hi Jeff,

you must use name expressions, the syntax is as follow:

lcinitialname = 
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf'
lcservername = 
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

copy file (lcinitialname) to (lcservername)

Gianni

On Mon, 11 May 2015 16:24:38 -0700, Jeff Johnson j...@san-dc.com wrote:

Why does this work:
COPY FILE 
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf' TO 
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

Where lcinitialname and lcservername are the same as above does not work:
copy file '' + alltrim(lcinitialname) + '' to '' + 
alltrim(lcservername) + ''

I get a 202 path not found.  This does not make any sense!  Paths are 
valid and 75041.pdf exists.

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/40f2la19n9p2l75uddq104p30oltpeo...@4ax.com
** 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.


Re: Copy File

2015-05-11 Thread Jeff Johnson

Tried that also.  I tried everything I know and still won't copy.

Thanks,

On 5/11/2015 4:34 PM, Gianni Turri wrote:

Hi Jeff,

you must use name expressions, the syntax is as follow:

lcinitialname = 
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf'
lcservername = 
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

copy file (lcinitialname) to (lcservername)

Gianni

On Mon, 11 May 2015 16:24:38 -0700, Jeff Johnson j...@san-dc.com wrote:

Why does this work:
COPY FILE
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf' TO
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

Where lcinitialname and lcservername are the same as above does not work:
copy file '' + alltrim(lcinitialname) + '' to '' +
alltrim(lcservername) + ''

I get a 202 path not found.  This does not make any sense!  Paths are
valid and 75041.pdf exists.


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/5551402d.3010...@san-dc.com
** 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.


Re: Copy File

2015-05-11 Thread Fred Taylor
Try just:

? FILE(m.lcinitialname)
? FILE(m.lcservername)

to see which one fails.

Fred

On Mon, May 11, 2015 at 4:50 PM, Jeff Johnson j...@san-dc.com wrote:

 Tried that also.  I tried everything I know and still won't copy.

 Thanks,

 On 5/11/2015 4:34 PM, Gianni Turri wrote:

 Hi Jeff,

 you must use name expressions, the syntax is as follow:

 lcinitialname =
 'd:\users\public\applications\ft_cafe\documents\export\75041.pdf'
 lcservername =
 'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

 copy file (lcinitialname) to (lcservername)

 Gianni

 On Mon, 11 May 2015 16:24:38 -0700, Jeff Johnson j...@san-dc.com wrote:

 Why does this work:
 COPY FILE
 'd:\users\public\applications\ft_cafe\documents\export\75041.pdf' TO
 'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

 Where lcinitialname and lcservername are the same as above does not work:
 copy file '' + alltrim(lcinitialname) + '' to '' +
 alltrim(lcservername) + ''

 I get a 202 path not found.  This does not make any sense!  Paths are
 valid and 75041.pdf exists.

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBkspyFsLSPnkndLr=mjlkw-ggynef6rx_qazjroasejt...@mail.gmail.com
** 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.


Re: Copy File

2015-05-11 Thread Jeff Johnson

Are there any characters that won't copy - such as : ?

On 5/11/2015 5:29 PM, Jeff Johnson wrote:
Fred: the second one is failing because there is no file.  I know the 
lcinitialname exists, but it won't copy to the other folder.  I am 
renaming it which is fine.


This same line of code is in all my apps, but in this one today it 
doesn't work.



On 5/11/2015 4:57 PM, Fred Taylor wrote:

? FILE(m.lcinitialname)
? FILE(m.lcservername)




--
Jeff

Jeff Johnson
j...@san-dc.com
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com
 



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/55514e96.1020...@san-dc.com
** 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.


Re: Copy File

2015-05-11 Thread Fred Taylor
http://xahlee.info/mswin/allowed_chars_in_file_names.html



Fred

On Mon, May 11, 2015 at 8:15 PM, Jeff Johnson j...@san-dc.com wrote:

 Fred:  I can do it manually but not programmatically.   I'm wondering if a
 : in the file name might be the problem.

 On 5/11/2015 6:46 PM, Fred Taylor wrote:

 Rights issue on the destination file/folder?

 Fred

 On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:

  Fred:  the second one is failing because there is no file.  I know the
 lcinitialname exists, but it won't copy to the other folder.  I am
 renaming
 it which is fine.

 This same line of code is in all my apps, but in this one today it
 doesn't
 work.


 On 5/11/2015 4:57 PM, Fred Taylor wrote:

  ? FILE(m.lcinitialname)
 ? FILE(m.lcservername)

  --
 Jeff

 Jeff Johnson
 j...@san-dc.com
 SanDC, Inc.
 (623) 582-0323
 SMS (602) 717-5476
 Fax 623-869-0675

 www.san-dc.com
 www.cremationtracker.com
 www.agentrelationshipmanager.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBkspVw8XgZshkr1T5gG4dsK8Eg1=rkw3vmzpwakkyhvi...@mail.gmail.com
** 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.


Re: Copy File

2015-05-11 Thread Jeff Johnson
Fred:  I can do it manually but not programmatically.   I'm wondering if 
a : in the file name might be the problem.


On 5/11/2015 6:46 PM, Fred Taylor wrote:

Rights issue on the destination file/folder?

Fred

On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:


Fred:  the second one is failing because there is no file.  I know the
lcinitialname exists, but it won't copy to the other folder.  I am renaming
it which is fine.

This same line of code is in all my apps, but in this one today it doesn't
work.


On 5/11/2015 4:57 PM, Fred Taylor wrote:


? FILE(m.lcinitialname)
? FILE(m.lcservername)


--
Jeff

Jeff Johnson
j...@san-dc.com
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/5551704c.9040...@san-dc.com
** 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.


Re: Copy File

2015-05-11 Thread Fred Taylor
Rights issue on the destination file/folder?

Fred

On Mon, May 11, 2015 at 5:29 PM, Jeff Johnson j...@san-dc.com wrote:

 Fred:  the second one is failing because there is no file.  I know the
 lcinitialname exists, but it won't copy to the other folder.  I am renaming
 it which is fine.

 This same line of code is in all my apps, but in this one today it doesn't
 work.


 On 5/11/2015 4:57 PM, Fred Taylor wrote:

 ? FILE(m.lcinitialname)
 ? FILE(m.lcservername)


 --
 Jeff

 Jeff Johnson
 j...@san-dc.com
 SanDC, Inc.
 (623) 582-0323
 SMS (602) 717-5476
 Fax 623-869-0675

 www.san-dc.com
 www.cremationtracker.com
 www.agentrelationshipmanager.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajcbkspetiag5c+-ng_jay9nqhs5c0tl9iqyr1dudo9_jbd...@mail.gmail.com
** 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.


RE: COPY FILE insists on using included file

2007-07-05 Thread henry.dagher


I am glad to hear this a known 'behaviour'. Thanks for the solution AND the 
many other calls listed on that page.

Very helpful!

Thanks, Tracy.

Henry



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Pearson
Sent: 2007-07-05 10:47 AM
To: [EMAIL 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 oShell as Shell.Application.1
   oShell = CREATEOBJECT(Shell.Application)
   oShell.NameSpace(cTo).CopyHere(oShell.NameSpace(cFrom).Items(),16+256)


HTH,

Tracy


-Original Message-
From: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2007 3:24 PM

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.


Re: COPY FILE insists on using included file

2007-07-03 Thread Richard Kaye
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.


RE: COPY FILE insists on using included file

2007-07-03 Thread henry.dagher
Thanks for the suggestion, Richard.

Tried it and it still goes to the stored path, not the explicitely stated one.

Henry



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Kaye
Sent: 2007-07-03 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: COPY FILE 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

[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.