hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Move file to certain folder based on a value within the file

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Mon Nov 05, 2012 1:19 pm    Post subject: Move file to certain folder based on a value within the file Reply with quote

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 ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group