Wildcards???
Posted: Wed Nov 12, 2003 7:51 pm
Hi,
I would like to move all the *.txt files from 1 dir to another. I'm using the RenameFile() command which works fine for single named files( RenameFile("C:\Temp\FileA.txt", "C:\Temp\FileB.txt") ).
Is there a way to use wildcards? (*.*, *.zip, *.txt etc) If not can anyone suggest a workaround? I have a comboboxgadget to select the appropriate wildcard.
Thanks in advance.
I would like to move all the *.txt files from 1 dir to another. I'm using the RenameFile() command which works fine for single named files( RenameFile("C:\Temp\FileA.txt", "C:\Temp\FileB.txt") ).
Is there a way to use wildcards? (*.*, *.zip, *.txt etc) If not can anyone suggest a workaround? I have a comboboxgadget to select the appropriate wildcard.
Thanks in advance.