0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Powershellの起動時のディレクトリを変更する方法(Windows10)

Posted at

$profleに"cd 任意のディレクトリ"を追記するだけ。

1 . powershellで$profileと打つ。

> $profile
C:\Users\<ユーザー名>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

2 . 1で出力されたファイルにテキスタエディタ(メモ帳など)で以下を追記する。

cd 任意のディレクトリ(例:C:\Users\ユーザー名\Documents)

これだけ!超簡単!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?