I have path of an application in a string what I want to run.
For example: [io.path]::Combine($path, $filename) it be interpreted as C:\foo\baa.exe. I have tried using &$path operator but it don’t works by using variable.
I have path of an application in a string what I want to run.
Share
I just had both
& $path(note the space) andInvoke-Item $pathwork.