Code for moving files from one location to another
I am having difficulties in creating some code which does the following:
1) Searches through a table for files/path names that exist
2) If they do exist, i.e. a path name exists, its takes the name of the file and moves it to another location - for e.g a file caled invoice.html which resided at c:mydocs\ now has to be copied and moved to a folder called c:\invoices.
Can anyone give me some example code that I can do that does this.
Thanks in advance