Hello,
To get the path of the folder where the file is stored (inside 'Loop for each file in a folder') use the system variable $CurrentDirectory$. The text format of task would appear something like this,
Start Loop " Each File in $LocalPath$"
Rename Files "$CurrentDirectory$\$FileName$.$Extension$" to "$FileName$_DEL_NOTE.$Extension$"
Copy Files "$CurrentDirectory$\$FileName$_DEL_NOTE.$Extension $" to "$NetworkPath$\$SellingYear$\$SellingSeason$\"
End Loop
Hence, in 'Rename Files' and 'Copy Files' you need to replace variable, $LocalPath$ with $CurrentDirectory$.
Hope that helps.
|