On Tue, Feb 23, 2010 at 11:04:20AM -0800, Joseph Ess wrote: > > > > >----- Original Message ---- >> From: Jon TURNEY <jon.tur...@dronecode.org.uk> >> To: cygwin-xfree@cygwin.com >> Cc: joseph_...@yahoo.com >> Sent: Tue, February 23, 2010 1:49:56 PM >> Subject: Re: How do I start WM? >> >> On 23/02/2010 18:29, Joseph Ess wrote: >> >> Perhaps you should follow my suggestion and try it. >> > >> > I double-clicked on c:\cygwin\bin\startx. It opens a >> > dialog titled "Open With" that instructs one to "Choose the program you >> > want to use to open this file". >> >>Does http://x.cygwin.com/docs/ug/using.html#using-starting-startx say >>to run startx by double clicking on it? Not it does not. >> >>Hint: that will not work as startx is bash script, which Windows >>explorer has no idea how to run. > >I say that I'm trying to replace a .bat file, which one could >presumable run by double-clicking on it, and you propose using a bash >script, which one cannot double-click on and then berate me for trying >it?
Assuming that a ".bat file means I'm double clicking something" is actually sort of a stretch. But, if you need a .bat files why not just put the call to startx in a .bat file? You'd have to set the PATH appropriately, of course. It seems like you should be able to call startxwin.exe directly if needed too. cgf -- 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/