This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: How do I make DOS scripts to start X applications?
- From: Thierry Pirot <thierrypirot at skynet dot be>
- To: cygwin-xfree at cygwin dot com
- Date: 23 Dec 2005 00:04:53 +0100
- Subject: Re: How do I make DOS scripts to start X applications?
- References: <43AABF2E.4070408@Chunderpot.com>
- Reply-to: cygwin-xfree at cygwin dot com
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/