Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long File Names
Message
From
18/11/2002 14:45:54
 
 
To
15/11/2002 11:55:01
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00723279
Message ID:
00723991
Views:
9
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:
* SNIPPED PRECEDING CODE
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
Previous
Reply
Map
View

Click here to load this message in the networking platform