Ad Widget

Collapse

Problems running sytem.run item with script in (x86) folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterbnc
    Junior Member
    • Jun 2013
    • 1

    #1

    Problems running sytem.run item with script in (x86) folder

    When I run an external command using system.run[] in the windows 32bit program files folder I don't get any results.

    I try to do the following;

    Code:
    system.run[C:\Program Files (x86)\Zabbix Agent\myscript.vbs,nowait]
    system.run["C:\Program Files (x86)\Zabbix Agent\myscript.vbs",nowait]
    system.run[\"C:\Program Files \(x86\)\Zabbix Agent\myscript.vbs\",nowait]
    
    system.run[C:\test(x86)\myscript.vbs,nowait]
    that all didn't work

    if I use an folder without () it works
    system.run[C:\test test\myscript.vbs,nowait]

    Any idea how to escape these parentheses  () ?

    Using Zabbix 2.0.6 agent

    Thanx
Working...