This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I make DOS scripts to start X applications?


Scott writes:

> Once I've started X, I wish to have icons I can click on to start up X
> applications via commands I devise myself, for example, custom xterms or
> emacs windows on various nodes using ssh. I know the commands to do what
> I want, just need to know how to embed them in a DOS script that I can
> click on.  

Here's the kind of script I use on XP :

$cat dvi.bat 
: You DnD or associate extensions to this .bat to open a file in Xdvi's.  

set EXE=xdvi -display 127.0.0.1:0.0
%~d1
cd %~p1
run bash.exe -c " %EXE% '%~n1%~x1' "

> Could someone help me out? Thanks!
> 
Don't know if that's what you need, 
there are cases where it fails but I think it may help 
( took me months to find this solution )-:
-- 
   Take it Easy          Don't worry            Be Happy

                           Thierry

°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]