Zabbix uses common functionality to execute user parameters, remote commands, system.run[] items without the “nowait” flag, scripts (alert, external and global) and some internal commands.
The command/script is executed similarly on both Unix and Windows platforms:
All double quotes and backslashes in the command are escaped with backslashes and the command is enclosed in double quotes.
Read more about user parameters, remote commands, alert scripts.