Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Mon Nov 05, 2012 1:19 pm Post subject: Move file to certain folder based on a value within the file |
|
|
This is a user email support request:
We need to move XML files when they are received/saved into a directory, say c:\XMLrecieved, then depending on the below criteria the files need to be moved out to different directories:-
If the file contains ‘TransactionType=”PreIssue”’ move to c:\preissue
If the file name is like LBO_ move to c:\lbo
And if the file name is like TTS move to c:\TTS
I can see how to move the files based on file name, but can I move the files based on a value within the file ? |
|