Hi Paul, On Mon, Jun 25, 2012 at 12:41 PM, paul.gomersbach <[email protected]>wrote:
> Hi all, > > I need to execute the following command, what will be the correct syntax > in a windows exec resource? > > command => C:\Program Files (x86)\RSyslog\Agent\RSyslogConfigClient.exe > "C:/Program Files (x86)/RSyslog/Agent/customsyslog.xml" /f > You'll want to wrap double quotes around the executable, and then single quote the entire command line: command => '"C:\Program Files (x86)\RSyslog\Agent\RSyslogConfigClient.exe" "C:/Program Files (x86)/RSyslog/Agent/customsyslog.xml" /f' > Tanks, > > Paul. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/NG14OmcrhMgJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
