: I would like concatenate one file to another using 27x7 JAL. In a dos batch : file I would do it like this... : type h:\prod\daily\log\chkstat.bk2 >> h:\prod\daily\log\chkstat.bk3 : Can you tell me how to do it using 24x7 JAL? example 1: // Use DOS to concatenate file Dim( process, number ) Run("command.com /b type h:\prod\daily\log\chkstat.bk2 >> h:\prod\daily\log\chkstat.bk3", "", process ) // For Windows NT use "cmd" instead of "command.com" example 2: // Pure JAL Dim( file1, String ) Dim( file2, String ) FileReadAll( "h:\prod\daily\log\chkstat.bk2", file1 ) FileReadAll( "h:\prod\daily\log\chkstat.bk3", file2 ) Concat( file2, file1, file2 ) FileSave( "h:\prod\daily\log\chkstat.bk3", file2 )
|