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 

Duplicating a file

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
VincentMagnotta



Joined: 28 Jul 2008
Posts: 46

PostPosted: Tue Feb 21, 2012 8:34 am    Post subject: Duplicating a file Reply with quote

How do I duplicate a file? I need two copies of a file in the same directory, how do I accomplish this with automize? Copy tasks won't change the name of the target and rename will get rid of the original?

This should be easy...

Example:

I have:
Code:

C:\mydir\abc.txt


I need:
Code:
C:\mydir\abc.txt
C:\mydir\abc2.txt

(I'm flexible about the new name, as long as it's predictable)
Back to top
View user's profile Send private message
VincentMagnotta



Joined: 28 Jul 2008
Posts: 46

PostPosted: Tue Feb 21, 2012 8:55 am    Post subject: Reply with quote

ideally, what we'd want is:

Code:

abc.txt
abc.trn
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Feb 21, 2012 4:51 pm    Post subject: Reply with quote

This 2 step sequence should work:

Copy task with append to filename field (.trn): result =
abc.txt.trn

Rename task:
filename field = .txt.trn
rename filename field = .trn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions 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