SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Appending files

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Appending files
Author Message
Robert Balsamo



Joined: 11 Jan 2002
Posts: 9

Post Appending files Reply with quote

Is there a JAL syntax that would combine 2 files into one file? Thanks in advance - Bob

Tue Sep 03, 2002 10:21 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Re: Appending files Reply with quote

RunAndWait("cmd /C copy file1 + file2 file3", "", pid )

file3 could be the same as file1. If these files are not very big you can also use the following

FileReadAll "file1", var1
FileReadAll "file2", var2
Concat var1, var2, var1
FileSave "file3", var1

: Is there a JAL syntax that would combine 2 files into one file? Thanks in
: advance - Bob

Tue Sep 03, 2002 8:03 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.