07-29-2020 02:14 AM
Hello !
In my project, the user needs to fill an array of file path.
I would like to add the date in every file of the array. How can I do that ?
For exemple, if the user write this : D:\data\file1 and D:\data\file2 in the first 2 file of the array, i want to rewrite this and have that : D:\data\file1_29_07_2020_09_13 and D:\data\file2_29_07_2020_09_13.
Thank you in advance.
07-29-2020 05:28 AM - edited 07-29-2020 05:32 AM
Use a function to get the file name:
Use string functions to modify the string:
Use Build Path to add the file name to the directory.
EDIT:
Do this in a for loop...
Please let us know what step is the problem.