Currently I've been running a fairly basic (command) batch file that copies files named *.log from drive E: to drive F:\destination then delete all files (*.*) on drive E:.
Now I need a different batch script because of software changes.
Q: What I need the new script to do?
A: Copy only *.log and *.ghm from drive E:\unknown\folders\ to F:\destination then delete everything (files & folder\subfolder) on drive E:
The tricky part is, the folders & subfolders on source (E) are always different and never named the same, so the location of the 2 files (*.log & *.ghm) are not always known (except that they are within drive E).
A bonus would be to be able ignore same named files (source/destination).
This can be in .BAT or .VBS format. (BAT would be cleaner for me and allow me to recompile it)
-Thanks
Now I need a different batch script because of software changes.
Q: What I need the new script to do?
A: Copy only *.log and *.ghm from drive E:\unknown\folders\ to F:\destination then delete everything (files & folder\subfolder) on drive E:
The tricky part is, the folders & subfolders on source (E) are always different and never named the same, so the location of the 2 files (*.log & *.ghm) are not always known (except that they are within drive E).
A bonus would be to be able ignore same named files (source/destination).
This can be in .BAT or .VBS format. (BAT would be cleaner for me and allow me to recompile it)
-Thanks