I\'m creating a Powershell script to deploy some code and part of the process is to call a command-line compression tool called RAR.EXE to back-up some folders.
I\'m at
it's an artifact of using cmd /c, I think. running
$param = "echo foo" cmd /c $param
works fine. Unless you have a real code example, it's a bit hard to trouble shoot.