sql - SSIS - Send Mail Task - Attache multiple newly generated Log files -
i executing ssis package batch file execution. @ end generate multiple predefined named log files. want attache log files in send mail task.
log files located e.g. (d:\folder1\folder2\folder3\abc.log) , (d:\folder 1\folder 2\folder 3\xyz.log).
i using following expression in send mail task file attachment. "d:\folder 1\folder 2\folder 3\*.log" doesn't recognize log file. (there "2 slashes" in entire path)
please me attach log files.
try creating 2 variables. vpath = d:\folder 1\folder 2\folder 3\ vlogfilemask = *.log , add these 2 variables in expressions vpath + vlogfilemask.
Comments
Post a Comment