How I do invoke a PowerShell Start-Process command with arguments that require quoting from a Command Prompt / batch file?
问题 I am getting this error when trying exec one command in PowerShell : I am trying to exec this command: powershell.exe Start-Process -FilePath "C:\Windows\System32\attrib +h +s "%CD%"" -Verb runAs Can someone please help me figuring out why this is happening and how to solve it? 回答1: Can someone please help me figure out why this is happening? The -FilePath parameter of the Start-Process cmdlet expects the name or path of an executable file by itself, not an entire command line . The arguments