Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: How to copy several files into one?
Topic Summary:
Created On: 12/04/2012 08:16 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 12/04/2012 08:16 PM
User is offline View Users Profile Print this message

Author Icon
Apprentice (20-49)

Posts: 43
Joined: 03/31/2005

I have two text files, file1.txt and file2.txt. I want to combine them into one file file3.txt, equivalent of DOS command copy file1.txt+file2.txt file3.txt. According to Help "Copy File Action" ("To specify multiple files or wildcard masks, separate them with a vertical bar"), the following should work:

AMFILECOPY SOURCE="t1.txt|t2.txt" DEST="t3.txt"

This command does not return an error, but t2.txt has only the content of t1.txt. What am I doing wrong?

It's Automate

 Category Survey
AutoMate 6 version: 6.2.8
Windows version: Windows XP
 12/06/2012 02:38 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda

Posts: 3424
Joined: 01/11/2008

Hi Vadim,

Are you attempting to get the contents from File 1 and File 2 and place them in File 3?

If the above is the scenario you are looking to accomplish I would suggest that you complete the following

Let us know if that works for you.

 Category Survey

Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 3312 guests browsing this forum, which makes a total of 3312 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog