I hope you can help me out.
I just want to use the following syntax.:
Invoke-Expression "cmd /c PATH %PATH%;D:Tools"
I now understand that the semicolon splits the syntax into two different statements.
Is there a way to use the semicolon in this way?