Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy files only and not folders
Message
 
À
20/02/2009 10:55:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01383073
Message ID:
01383103
Vues:
37
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform