thanks thomas,
but it not real clear for me. I thought, the "list files" will fill the variable with content automatically - isnt it? so, what should i do to give the result (the filename) to the rename task and rename the file including the old file name? for example: {LOOP(CurrentValueX)}_{DATEFORMAT(yyyy_MM_dd)}
works, with the result
Old names:
FileNameUnkown1234.txt
FileName2345_Unkown1234.txt
ABC-4567_FileNameUnkown1234.txt
New:
1_2021_03_03,
2_2021_03_03
3_2021_03_03
I can use {LOOP(CurrentValueX)}_{DATEFORMAT(yyyy_MM_dd)}_{PATH(GetFileName|C:\Program Files (x86)\VisualCron\VisualCronClient.exe)}
but i dont wont:
1_2021_03_03_VisualCronClient.exe
2_2021_03_03_VisualCronClient.exe
3_2021_03_03_VisualCronClient.exe
:-)
but i need the old file name included the new name.
{LOOP(CurrentValueX)}_{DATEFORMAT(yyyy_MM_dd)}_{PATH(GetFileName|c:\kwon-path\But_I_Dont_Know_The_Name_Of_File.txt)}
1_2021_03_03_FileNameUnkown1234.txt
2_2021_03_03_FileName2345_Unkown1234.txt
3_2021_03_03_ABC-4567_FileNameUnkown1234.txt
Thanks
Bjoern