Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file names in table
Message
De
20/04/2010 21:30:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01461103
Message ID:
01461246
Vues:
37
>>Hi all, I want to copy of file names in a table. if i have folde, which have many file names with more than on ext. a.wav, a.jpg.
>>
>>should be copy a.wav in in wav filed and a.jpg in jpg filed
>>thanks
>
>Assuming you have a file name (without extension) in your table:
>
>copy file (forcepath(m.lcSourceDir, alltrim(MyTable.File))  + ".*") to (forcepath(m.lcDestinationDir, alltrim(myTable.File)) + ".*")
You switched the parameters in forcepath.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform