DEV Community

Cover image for How to open CMD in current directory.

How to open CMD in current directory.

Amritanshu Dev Rawat on December 18, 2020

Steps: Open Folder Type cmd in search bar Press Enter -- optional -- To open this folder in vs code type code . [It will op...
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
 
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
 
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
 
bobbyiliev profile image
Bobby •

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.