I want to delele files. Therefore I create a task with actions:
1) Loop file
search for files: D:\AdvanTex\Data\Temp\Gebinde-Etiketten\*.pdf
assign current filename to variable: {TK1_CURRENTFILE}
The variable was put by using the {V} button and selecting the variable created before.
2) Delete file
Files: {TK1_CURRENTFILE}
3) End Loop
If I run the task, I get the following message for each file found:
W: 15.06.2021 16:50:53: Illegal name of variable ()
Any idea what I did wrong?
Thanks in advance for any help.
File Loop and task variables
Re: File Loop and task variables
You must specify variable name only: TK1_CURRENTFILE (without braces)assign current filename to variable: {TK1_CURRENTFILE}
Oleg Yershov