Run windows application with command line arguments

Discussion in 'Windows Virtual Machine' started by HaroldD, Aug 31, 2011.

  1. HaroldD

    HaroldD Bit poster

    Messages:
    1
    I can find little to no documentation to accomplish what I want. Previous forums posts are also not as complete as I'd like
    Specifically what I'd like to do is launch Beyond Compare in my windows VM via command-line in Terminal on my Mac.

    In my vm, I can directly run the command:

    "c:\Program Files (x86)\Beyond Compare 3\BComp.com" z:\demo.txt z:\demo-1.txt


    where BComp is the command and z:\demo.txt and z:\demo1.txt are two text files on a mapped (host os) drive. All of the drives are mapped, I have no issue there.


    Currently I can open a single file, by right clicking in finder and selecting "open with" and select the Parallels desktop created shortcut. I can also in terminal call "open -a Beyond\ Compare ~/demo.txt". The problem is I'm only able to pass a single filename as a parameter (and as a side note I cannot pass other optional arguments that aren't filenames)


    The closest I have been able to get involves creating a custom plist file that can be interpreted by the Parallel Link plugin app (that apparently no one is supposed to know about). However I've abandoned this path so far.

    Any advice?
     
  2. cek125i

    cek125i Bit poster

    Messages:
    1
    After a month of trials, I have come to the same conclusion - I wanna BeyondCompare on my Mac! :)

    Did you succeed in running bc3 from command line via params?
    I am trying to make it play nicely with mercurial.
     

Share This Page