Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy Only Files That Have Changed to Duplicate Drive
Message
De
09/08/2007 15:01:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01246997
Message ID:
01247137
Vues:
34
>Good point,
>It must be:
>
>IF NOT LEFT(laFiles[lnFor,1],1) == [.]
>
>No need to TRIM.

I was being lazy and didn't check adir for trim, you are correct they are already trimmed.

>And I use LEFT(,1_ because I don't want to check for both - [.] and [..] :-)

Sounds fine to me. I use the other method because it is possible to create a file name that starts with ".", windows explorer won't let you, but modi comm will.

I wouldn't consider starting a file with "." a good practice, but you never know what you will run into.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform