Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Better way to copy files
Message
From
07/02/2002 12:47:41
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616676
Message ID:
00616784
Views:
31
Well, now I'm beginning to wonder. Now I can't reproduce the original problem (and I could before).

>Ok, that worked, but why? There weren't any trailing spaces. Not only could I see there weren't any in the debugger, but when I cut and pasted the contents into variables in the command window (again, with no trailing spaces), it also choked. But doing an ALLTRIM on a variable with no extra spaces makes it suddenly OK? That is really bizarre...
>
>But, thanks for getting me to try it. LOL! Speed is important since I could potentially be copying thousands of files.
>
>Michelle
>
>
>>Michelle,
>>
>>I'd bet a nickel that the code with the alltrim() won't choke *grin*.
>>
>>I don't think it matters, but what OS are you on? And if it does choke (with the alltrim()), I'm still curious about the contents of lcFromPath & lcToPath at that point.
>>
>>That is, if you don't mind trying it :)
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform