Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ダブルクリックすると特定のディレクトリがルートとして設定された cmd ウィンドウを開くバッチ ファイルを作成したい。つまり、cmd を開くと、ルートは C:/users/ ではなく D:/Studies になる
これをcmdに入力します
copy con 1.bat cmd /K "cd D:/Studies" (press F6)
リンクを押すと、指定されたディレクトリでコマンドが開きます。