Quickly get to folders in CMD | Double Marvellous
Back to Blog
Development Jul 18, 2024 4 min read

Quickly get to folders in CMD

Quickly get to folders in CMD

When jumping around different folders in the CMD line, I’ve found using AutoHotKey really handy. Below are three scripts that I use to quickly jump from WAMP to Flywheel and back without typing out paths like a big fool. Also at F8 I have put a command to kill the nginx server. Try it out, it’s a great time saver…

autohotkey.com

#If winActive("ahk_exe cmd.exe") 

^F12::
    send {text}cd c:\Users\YourUserName\YourLocalFolder\
    send {enter}
return

^F11::
    send {text}cd c:\wamp64\www\SomeFolder
    send {enter}
return

^F8::
    send {text}@taskkill /f /im nginx.exe
    send {enter}
return

Double Marvellous

AI Chatbot

Double Marvellous.