Originally Posted By: ChristopheM
Hello,

this a problem due to file redirection.
Your first code is near the solution. Add a double quote after /c and at the end of the command
 Code:
$shellline = '%comspec% /c ""D:\Folder\Folder with spaces\Tools\dtexec.exe" /file "' + $ssispackage + '" /de MySecretPassword >"' + $ssisoutput + '""'



You are the man Christophe! I copied everything back to the path with spaces and it works great. No issues or error messages anymore. It looks unnatural to me but it works just fine. Thank you so much!
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.