Hi All,

I need actually to move a file from folder to another, I would rather not to
use the Copy command. How would you do that in VFP9? To Move a file in the
same HD works very fast actaully.

Thanks,

Joe

Re: Move a file from one folder to another by Jan

Jan
Fri May 09 16:22:39 CDT 2008

oWsh=CREATEOBJECT('scripting.filesystemobject')
oWsh.MoveFile(cFile1,cFile2)

JoeP napsal(a):
> Hi All,
>
> I need actually to move a file from folder to another, I would rather not to
> use the Copy command. How would you do that in VFP9? To Move a file in the
> same HD works very fast actaully.
>
> Thanks,
>
> Joe
>
>

Re: Move a file from one folder to another by Fred

Fred
Fri May 09 16:29:13 CDT 2008

RENAME x:\folder\filename.ext TO x:\other\filename.ext

--
Fred
Microsoft Visual FoxPro MVP


"JoeP" <NoSpam@Hotmail.com> wrote in message
news:ug90AYhsIHA.3716@TK2MSFTNGP04.phx.gbl...
> Hi All,
>
> I need actually to move a file from folder to another, I would rather not
> to use the Copy command. How would you do that in VFP9? To Move a file in
> the same HD works very fast actaully.
>
> Thanks,
>
> Joe
>



Re: Move a file from one folder to another by JoeP

JoeP
Fri May 09 16:47:33 CDT 2008

Thanks for all the answers.