How start PowerShell from cmd by specific path
Try this:
powershell -NoExit -Command "Set-Location c:\\"
If your path contains spaces, you can wrap it in single-quotes, like so:
powershell -NoExit -Command "Set-Location 'c:\\program files'"
Try this:
powershell -NoExit -Command "Set-Location c:\\"
If your path contains spaces, you can wrap it in single-quotes, like so:
powershell -NoExit -Command "Set-Location 'c:\\program files'"