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

xfreerdp -v -u myuser -p mypassword -app 'c:\windows\system32\notepad.exe' -app-cmd 'c:\test\test.txt'


xfreerdp -v -u myuser -p mypassword -app 'c:\windows\system32\notepad.exe' -app-file 'c:\test\test.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:\test\test.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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.