Jordan, Worked like a dream! I changed the module to win_command.
Many thanks for your help! Regards Chris On Friday, August 16, 2019 at 12:03:45 PM UTC+1, Jordan Borean wrote: > > That’s my bad, when you quote the string and want to execute it you need > to add the call operator like: > > - raw: ‘&” C:\Program Files\... “‘ > > > The alternative is to use win_command with the setup you have right now. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/e8c6e4f8-2744-4715-b6d9-2b929bc47e5e%40googlegroups.com.