Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy files only and not folders
Message
 
To
20/02/2009 10:55:46
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01383073
Message ID:
01383103
Views:
40
You may check if those folders already have a backslash.
if SUBSTR( lcSourceFolder, LEN(lcSourceFolder), 1) != "\"
    lcSourceFolder = alltrim(lcSourceFolder) + "\" 
endif
if SUBSTR( lcTargetFolder, LEN(lcTargetFolder), 1) != "\"
    lcTargetFolder = alltrim(lcTargetFolder) + "\" 
endif
So it will add the "\" only if it does not have it.
Previous
Reply
Map
View

Click here to load this message in the networking platform