0
1

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 5 years have passed since last update.

assocとftypeをPowerShellで動かすには

Posted at

実現したいこと

  • PoweShellでassocコマンドとftypeコマンドを実行したい。
  • しかしながら、下記のようなエラーが出力され動作しない。
hoge001.png
  • cmd.exeでは対応しているが、PowerShellでは対応していない。

実行コマンド

cmd /c assoc 

もしくは

 cmd /c ftype

補足

  • 情報源先には、コマンド名と同名のfunctionを設定し、引数を与えることでどうようのインタフェースを使えるようにする方法も紹介されている。

情報源

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?