Dear KITS_Paddington
The only thing what could be done better is to avoid command calls (my personal style).
To do this I would connect to the file with flat file soure and read the whole line into a single field.
Set the delimiter to a character which is not in the file e.g. tilde or pipe or something else.
Then you can process your replacement in a derived column transform and write it back to your file system.
This takes more effort to realise but you can avoid a command line this way.
Best Regards
Andreas
Main Topics
Browse All Topics





by: reza_radPosted on 2009-11-05 at 11:22:02ID: 25752913
in Foreach loop container
set Foreach File Enumerator
in variable mapping, set result 0 to User::FileName variable
use a execute process task
go to expression
select Argument
make special string combined with your variable User::FileName