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
您只需使用单引号将字符串括起来。
$string = 'test "example" and more stuff'
或者,您可以通过将双引号加倍来"转义"双引号,如 AutoIt 中数据类型的字符串说明中所述。
$string = "test ""example"" and more stuff"