>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)) + ".*")
If it's not broken, fix it until it is.
My Blog