Set in a given directory command prompt

First, open cmd you want to set as the default directory into the directory. And right to create a new text document. Then editor or Notepad open and enter the start cmd.exe. And then save the file as a command script as a .cmd extension of windows. Then, time to witness the miracle. Double click the file, it will automatically open the cmd command line and enter the default directory is that your own settings.

Guess you like

Origin www.cnblogs.com/yidajiabei/p/12000772.html