Hi,
I have to move and rename files using file system task. I can move files but unable to rename it with timestamp.
My variables are:
user::filepath ----> its having total file path of the .csv file
user::movefiles ----> d:\dir\dir1\archive\data\
for this path files are moving.
for adding time stamp : user::movefiles---->properties--->eveluate exp:true
EXp : @[User::FileName] +"_" +(DT_WSTR,4)YEAR(GETDATE())+(DT_WSTR,2)MONTH(GETDATE())+(DT_WSTR,2)DAY(GETDATE()) + "_" + REPLACE(SUBSTRING((DT_WSTR,30)GETDATE(),11,9),":","") + ".csv"
I am getting error as could not find the part of the path.
please help on it...
Thanks
AVS