LoginSignup
1
1

More than 3 years have passed since last update.

Powershellスクリプトで複数引数が必要な外部コマンド実行

Posted at

powershellでスクリプト書いている際に引数が必要な外部コマンド実行でつまずいたのでメモ書きに

環境

windows 10

現象

& コマンド "-引数 値 -引数2 値"

としていたが、この値部分に()が含まれており、)の使い方が誤っています。というエラーが発生していた

解決策

& コマンド -引数 "値" -引数2 "値"

に変更。

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