Command Line execution

Discussion in 'Windows Virtual Machine' started by cmolnar65, Oct 24, 2013.

  1. cmolnar65

    cmolnar65 Bit poster

    Messages:
    1
    I need to execute a windows 7 application from my OS/X hose command line. I need to pass it a command line option and let it run in the GUI.

    I have tried:

    prlctl exec Windows\ 7 'cmd /c c:\jaidogs\QuickDog.exe exportfilesaccess.script'

    prlctl exec Windows\ 7 'cmd -c c:\jaidogs\QuickDog.exe exportfilesaccess.script'

    prlctl exec Windows\ 7 -- "/c" "c:\jaidogs\QuickDog.exe exportfilesaccess.script"​

    and each of them give me no error messages but also do not start the app. I have run the command line in the command window of windows 7 and it works. How do I get it to work from the OS/X host?
     
  2. PiotrM1

    PiotrM1 Bit poster

    Messages:
    1
    Commands need to be executed double-slashed, so it would be:

    prlctl exec {parallels_vm_name} "c:\\jaidogs\\QuickDog.exe" "exportfilesaccess.script"
     
    Last edited: Aug 28, 2015

Share This Page