>I'm writing a backup program and need to be able to copy files from within VFP7. Using COPY FILE (filevar1) TO (filevar2) is giving me a headache. Sometimes it works, sometimes it says "Not a character expression". I've tried adding quotes around it like ["]+ (filevar1) + ["] in case it's an issue with spaces in the file name, but it doesn't like that, either. Is there a better way of doing this? I searched the help, but didn't see another command for it. Any ideas?
>
>Thanks,
>
Hi Michelle,
See the following thread for better way of copying files:
Forum: Visual FoxPro Category: Coding, syntax & commands Title: Re: Copy File Thread #
595460 Message #
595510>Michelle
If it's not broken, fix it until it is.
My Blog