I need to copy files to another location if they contain certain characters in their filename.
As I understood, for this I need Basic. Can someone please suggest a simple basic script for the above purpose?
thanks
Prem
If filename contains certain characters
If filename contains certain characters
see FileCopy function in Basic help
Sub Main
FileCopy "C:\AUTOEXEC.BAT", "C:\AUTOEXEC.BAK"
End Sub
Or
Sub Main
FileCopy("C:\AUTOEXEC.BAT", "C:\AUTOEXEC.BAK")
End Sub
Sub Main
FileCopy "C:\AUTOEXEC.BAT", "C:\AUTOEXEC.BAK"
End Sub
Or
Sub Main
FileCopy("C:\AUTOEXEC.BAT", "C:\AUTOEXEC.BAK")
End Sub
Last edited by Oleg on Tue Nov 20, 2007 9:37 am, edited 1 time in total.
If filename contains certain characters
Thank you Oleg.