5
6

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.

Powershellからexeを起動する時、引数の"-hoge"をpowershellに解析されないようにする方法

Posted at

例えばhoge -aとpsで入力されて、-aのパラメーターはpsに余計な事をせずにそのままhogeに渡してほしい。
そんな時は
hoge --% -aと入力。--%がマジックワードの「解析停止シンボル」と言う。

about_Escape_Characters https://technet.microsoft.com/ja-jp/library/hh847755.aspx

5
6
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
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?