DEV Community

Cover image for How to open CMD in current directory.
Amritanshu Dev Rawat
Amritanshu Dev Rawat

Posted on

How to open CMD in current directory.

Steps:

  • Open Folder

image.png

  • Type cmd in search bar

image.png

image.png

  • Press Enter

image.png

-- optional --

  • To open this folder in vs code type code . [It will open this folder in vs code]

image.png

image.png

-- connect --

Twitter

https://twitter.com/NewGenDeveloper

Top comments (13)

Collapse
 
gubesch profile image
Christian Gubesch

try shift + right click ;)

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

I am a fan of CMD over PowerShell 😀

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

Just switch to linux or on windows, powershell. You'll love it

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

I am a Linux user too...

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

i mean this for anyone reading this and using windows

Thread Thread
 
amritanshu profile image
Amritanshu Dev Rawat

yo.

Collapse
 
skylerdevops profile image
Skyler

I actually didn’t know that! I usually copy the path then open the command line and paste the path there ahah

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

Ya, same feeling when I first time saw this trick.

Collapse
 
n140338 profile image
N140338 • Edited

If you are shortcut lover{like me 🤗}, then with pressing ctrl+L makes highlight of search bar selection

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

That's nice.

Collapse
 
bobbyiliev profile image
Bobby Iliev

Cool tip! Thanks for sharing it!

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

Thankyou.

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

Post in social media, much reach there.