FreeRDP - launch an application with command line argument

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite












I want to launch a Windows application via FreeRDP with command line arguments.
I tried:



xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-cmd 'c:testtest.txt'


and



xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-file 'c:testtest.txt'


but every time notepad with a blank file starts. I also tried using double backslashes in file path and slashes - all with the same result.



The test.txt file of course exists. If I run notepad c:testtest.txt from Start->Run then notepad opens this file correctly.



How do I pass command line arguments to remote app in FreeRDP? I am running FreeRDP 2.0.0.










share|improve this question



























    up vote
    4
    down vote

    favorite












    I want to launch a Windows application via FreeRDP with command line arguments.
    I tried:



    xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-cmd 'c:testtest.txt'


    and



    xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-file 'c:testtest.txt'


    but every time notepad with a blank file starts. I also tried using double backslashes in file path and slashes - all with the same result.



    The test.txt file of course exists. If I run notepad c:testtest.txt from Start->Run then notepad opens this file correctly.



    How do I pass command line arguments to remote app in FreeRDP? I am running FreeRDP 2.0.0.










    share|improve this question

























      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      I want to launch a Windows application via FreeRDP with command line arguments.
      I tried:



      xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-cmd 'c:testtest.txt'


      and



      xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-file 'c:testtest.txt'


      but every time notepad with a blank file starts. I also tried using double backslashes in file path and slashes - all with the same result.



      The test.txt file of course exists. If I run notepad c:testtest.txt from Start->Run then notepad opens this file correctly.



      How do I pass command line arguments to remote app in FreeRDP? I am running FreeRDP 2.0.0.










      share|improve this question















      I want to launch a Windows application via FreeRDP with command line arguments.
      I tried:



      xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-cmd 'c:testtest.txt'


      and



      xfreerdp -v 192.168.1.100 -u myuser -p mypassword -app 'c:windowssystem32notepad.exe' -app-file 'c:testtest.txt'


      but every time notepad with a blank file starts. I also tried using double backslashes in file path and slashes - all with the same result.



      The test.txt file of course exists. If I run notepad c:testtest.txt from Start->Run then notepad opens this file correctly.



      How do I pass command line arguments to remote app in FreeRDP? I am running FreeRDP 2.0.0.







      freerdp xfreerdp rdp






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 11 '17 at 6:17

























      asked Oct 10 '17 at 13:44









      filo

      1416




      1416

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397231%2ffreerdp-launch-an-application-with-command-line-argument%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397231%2ffreerdp-launch-an-application-with-command-line-argument%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay