Anuj Varma Software • Cloud • Security • AI

cmd.exe shortcut to open in a specific location

Change the Shortcut’s properties to:

%windir%\system32\cmd.exe /F  /K "cd /d D:\whatever\"

  • The /F is for auto file name completion (not needed for the folder location, but very helpful once the cmd prompt is open)
  • The /K is to launch a cd command

Anuj holds professional certifications in Google Cloud, AWS as well as certifications in Docker and App Performance Tools such as New Relic. He specializes in Cloud Security, Data Encryption and Container Technologies.

Initial Consultation

Anuj Varma – who has written posts on Anuj Varma.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.