Open Powershell in a specific directory from shortcut

后端 未结 9 1289
再見小時候
再見小時候 2021-01-30 12:22

This sounds like it should be so simple... I must be dumb.

All I want is to make a windows short-cut that opens Powershell into a specific directory:

I\'m using

9条回答
  •  日久生厌
    2021-01-30 13:02

    Use this command.

    powershell.exe -noexit -command "cd c:\temp"
    

    -NoExit: Do not exit after running startup commands.

提交回复
热议问题