Hi ,
I am new to SSIS.
I have execute 3 batch scripts, for this I created a Execute Process Task inside For Each Loop Container,
In For Each Loop:
Collection Section:
Enumerator : For Each Enumerator
Folder :C:\MVNE\BTDB\data_staging\FileValidationScripts
Files:*.bat
Retrive File Name:Fully Qualified option
VariableMapping Section:used this variable
Created a string variable FileName with value "FileValidation.bat"
In Execute Process Task
Executable:C:\Windows\System32\cmd.exe
Working Directory :C:\MVNE\BTDB\data_staging\FileValidation
created an expression with arguments :"-e"+" "+"-o"+" "+ @[User::FileName]+" "+@[User::Source_Name]+" "+ @[User::Path]
I need to pass Source_name and Path to all the 3 batch script.when i tried using 3 Execute process task for each batch script,the script works fine but inside the for each loop its not working.
Is there any wrong in what I am doing ? Please help me.
Thanks in advance.