プリンターに送信したい .txt ドキュメントと MS Word .doc があります。Powershell の実行はStart-Process -FilePath C:\Temp\Versions.TXT -Verb print
、.txt ファイルに対して正常に機能します。
しかし、Powershell コマンドを使用すると、Start-Process -FilePath C:\Temp\Versions.docx -Verb print
以下のエラーが発生します。
Start-Process : A positional parameter cannot be found that accepts argument 'version'.
At line:1 char:14
+ Start-Process <<<< -FilePath C:\Temp\Versions.docx -Verb print
+ CategoryInfo : InvalidArgument: (:) [Start-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand
何がうまくいかないのですか?誰か助けてくれませんか?