Hi Robert,
You did not mention the language you are using, so I assume VBScript and it seems to me that the problem is with the slashes for the Applet parameter (VBScript does not support sequences like \n, \r, etc.).
So, instead of
Call
Sys.OleObject("WScript.Shell").Run("""C:\\Program Files (x86)\\Acme
Inc\\Anvil\\Anvil.exe"" Applet=\""This Applet\"" username=a password=q")
I would try
Call
Sys.OleObject("WScript.Shell").Run("""C:\Program Files (x86)\Acme
Inc\Anvil\Anvil.exe"" Applet=""This Applet"" username=a password=q")