'open a specified path in cmd in windows
I want to open a specified path in vscode in windows 10 and I know there is a command that do this:
path> code .
but my problem is, how can I open a specified path in cmd Quickly even from explorer like in ubuntu without type any command?
Solution 1:[1]
You can do this very simple by type cmd and enter in your windows explorer address bar when you navigated to your specific folder in explorer.
Solution 2:[2]
Solution for Windows users
- Add to path system Environment variables the VS code folder "C:\Users\username\AppData\Local\Programs\Microsoft VS Code"
- Type "code ." in address bar of desired folder path of file explorer
- VS code opens in that location
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kasra Najafi |
Solution 2 |