View Single Post
  #2 (permalink)  
Old 09-29-2009, 04:24 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

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.
Reply With Quote