SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
JAL command FILECOPYEX

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
JAL command FILECOPYEX
Author Message
Ron Brooks



Joined: 14 Apr 2000
Posts: 8

Post JAL command FILECOPYEX Reply with quote

WE JUST ACQUIRED 24X7 V1.6 RECENTLY. I'M WRITING SOME JAL SCRIPTS TO PROCESS BATCH FILES. I'D LIKE TO BACK THEM UP BEFOREHAND AND USE THE COMMAND:
FILECOPYEX ("D:\BATCH\*.*", "E:\BATCH\*.*", FILECNT)

THE E: SUBDIRECTORY HAS YESTERDAY'S FILES IN IT. MOST OF THE FILES I WANT TO COPY HAVE THE SAME NAMES. THE COMMAND PRODUCES AN ERROR MESSAGE SAYING IT CAN'T OVERWRITE THE OLD NAME. THE DOS EQUIVALENT WORKS, BUT I'D LIKE TO RETAIN A COUNT OF THE NUMBER OF FILES COPIED. AM I MISSING SOMETHING???


Fri Apr 14, 2000 7:14 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6499

Post Re: JAL command FILECOPYEX Reply with quote

Yep, change your script to
FILECOPYEX ("D:\BATCH\*.*", "E:\BATCH\", FILECNT)

: WE JUST ACQUIRED 24X7 V1.6 RECENTLY. I'M WRITING SOME JAL SCRIPTS TO PROCESS
: BATCH FILES. I'D LIKE TO BACK THEM UP BEFOREHAND AND USE THE COMMAND:
: FILECOPYEX ("D:\BATCH\*.*", "E:\BATCH\*.*", FILECNT)

: THE E: SUBDIRECTORY HAS YESTERDAY'S FILES IN IT. MOST OF THE FILES I WANT TO
: COPY HAVE THE SAME NAMES. THE COMMAND PRODUCES AN ERROR MESSAGE SAYING IT
: CAN'T OVERWRITE THE OLD NAME. THE DOS EQUIVALENT WORKS, BUT I'D LIKE TO
: RETAIN A COUNT OF THE NUMBER OF FILES COPIED. AM I MISSING SOMETHING???

Fri Apr 14, 2000 9:30 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.