Jeff,
When your folder names have spaces in them, using macro expansion will cause problems. There is no need for macro expansion, you can simply use a named expression. Also, the you do not need a file mask for destination folder. Try:
lcHomePath1 = lcHomePath1+"\*.*"
COPY FILE (lcHomePath1) TO (lcdirectory1)
>
>The problem is this works on my computer from the VFP IDE or an EXE. I have setup the same directory structure on another machine and I get the following message:
>
>"File C:\Renee\Electrocardiogram Report\*.* does not exist." It looks like I have two problems 1) why does it work on my machine and not anywhere else? 2) How can I copy files from one directory to another when the directories could be more than 8 characters?
Steve Gibson