I am trying to call Beyond Compare Windows app to perform a file compre directly from Mac but I am block with command line argument passing.
You can call Windows applications from the OS X command line via something like:
open "$HOME/Applications (Parallels)/{ca50aac6-caa6-47a6-9bfe-e38f6261cb8d} Applications.localized/python.exe.app" --args -v
Still, it seems that there is a problem when you try to pass arguments.
Best Answer
APPROACH 1
This approach is a hack, but works with the least expensive version of Parallels.
On the virtual Windows machine:
On the Mac:
$(HOME)/Applications (Parallels)/VMNAME
Applications, where VMNAME is the name of a virtual machine.App Path
property to the absolute path in the virtual machine to the *.bat file, rather than the application. Save the file.This is similar to @johnl's answer above, which provided the vital clue. However, at least in Parallels 11, the
App Path
property would only work with an application path, not with a command line.APPROACH 2
As of Parallels 11, this approach requires one of the more expensive editions of Parallels - Pro or Business. I don't have either, and haven't tested this approach.
According to the Parallels manual Parallels Desktop for Mac Pro Edition, the command
prlctl exec
can accept a command to be executed on the Windows virtual machine.