windows:commands:system_manage

システム管理関連

現在のコードページを表示。

> chcp
現在のコード ページ: 932

コードページを UTF-8 に変更。

> chcp 65001
Active code page: 65001

コードページを cp932 に変更。

> chcp 65001
Active code page: 65001
> hcsdiag list
DA32A8B0-DAA1-429A-9E4F-6633A32F1788
    VM,                         Running, DA32A8B0-DAA1-429A-9E4F-6633A32F1788, WSL

コマンドプロンプトを管理者実行して、以下のコマンドを実行する。

> assoc .py
.py=Python.File

> ftype Python.File
Python.File="C:\Python27\python.exe" "%1" %*

> ftype Python.File="C:\Python38\python.exe" "%1" %*
Python.File="C:\Python38\python.exe" "%1" %*
  • windows/commands/system_manage.txt
  • 最終更新: 2020/03/10 10:51
  • by ともやん