Script to open Commmand prompt?

Share your favorite FastKeys commands
Post Reply
Admirer
Posts: 26
Joined: Aug 19th, ’19, 05:19

Post by Admirer » Jul 26th, ’25, 17:19

Want to assign a command to open Command Prompt using shortcut Win+C.
Can anyone help me with the script?
User avatar
Marko
Posts: 1910
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jul 26th, ’25, 17:22

Type: Run

C:\Windows\System32\cmd.exe
Admirer
Posts: 26
Joined: Aug 19th, ’19, 05:19

Post by Admirer » Jul 27th, ’25, 05:12

I already tried that. The cmd opens like this: C:\Program Files (x86)\FastKeys>

I want it to open this way: C:\Users\admin>
This is how it opens regularly.
User avatar
Marko
Posts: 1910
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jul 27th, ’25, 05:34

C:\Windows\System32\cmd.exe /K "cd /d C:\Users\admin“
Admirer
Posts: 26
Joined: Aug 19th, ’19, 05:19

Post by Admirer » Jul 27th, ’25, 06:03

It is still opening this way only:

The system cannnot find the path specified.
C:\Program Files (x86)\FastKeys>
Admirer
Posts: 26
Joined: Aug 19th, ’19, 05:19

Post by Admirer » Sep 19th, ’25, 13:33

I replaced the last curly quote with straight quote and it worked!

C:\Windows\System32\cmd.exe /K "cd /d C:\Users\admin“ :roll:
Post Reply