I am attempting to start a program using cygstart. 
I am logged in through an SSH from a linux machine, I am capable of starting 
the program using:
cygstart program.exe

However I want to be able to pass the xml file for that program to open as an 
argument.

cygstart program.exe file.xml
opens the program but not with the correct file. I have seen some mention of 
using --  to delimit the arguments but that was unsuccessful for me too.
i.e. :    cygstart -- program.exe -- file.xml

I know that the program can take arguments in Windows, The command is simple 
program.exe file.xml and it will open the correct file using that program. 

Any assistance with how to properly pass an argument to the program would be 
greatly appreciated. 
Thank you

Emmett

P.S.
I seen a lot of discussion on here about starting graphical programs through an 
SSH using cygstart. I managed to do it by giving my user account the same 
groupid as the SYSTEM group. 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to