![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
Topic Title: Mass file copy adding hour of day to the destination filename Topic Summary: Created On: 03/29/2018 07:50 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
||||||||||
Hi,
Ideally, I want to use one line of code to copy all files from one directory to another destination but need to preface the hour of the day to the destination filename. Example: filename.txt becomes 10-filename.txt if done between 10am and 11am Can I do this in one "file system" copy statement or do I have to loop thru contents of a folder doing it one file at a time? Thanks, Rich
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Rich,
You will need to loop through the files in order to go ahead and add the preface to the filename. I apologize for the inconvenience.
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.