Run("cmd.exe")
Global $String = "wmic process where name="example.exe" get commandline"
Send($String)
结果:
Global $String = "wmic process where name="example.exe" get commandline"
Global $String = "wmic process where name="^ ERROR
答案 0 :(得分:2)
您只需使用单引号括起您的字符串。
$string = 'test "example" and more stuff'
或者你可以通过将它们加倍来“逃避”双引号,就像AutoIt中数据类型的Strings description中所述。
$string = "test ""example"" and more stuff"