This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this questionIn FAR manager, I can open seperate command window at the current location by just typing start. For example, Active Panel in FAR is in c:\Projects and I type "start" it opens a new console window with path c:\projects. I want to open PowerShell with current path, For instance I type PS, it opens powershell window with location set to c:\projects.
Any ideas?
One solution is with this command
start powershell.exe -noexit -command "set-location '%cd%'"
Another option is
powershell -noprofile
which has the side effect of not loading your profile, but since your profile contains code that sets a specific path ...
type dot '.' and press shift+Enter.
精彩评论