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: cygwin/x fails to run on WinXP when cygwin.bat executed instead a different software phpEdit runs


If you successfully run it manually, then the problem of launching the bat 
file with a shortcut is a Windows gui problem. 

Go for investigating file extensions and associations handling of bat files. 
Try to delete and recreate a link to the original bat file on the desktop 
(Ctrl-Shift Drag the icon).

Pavel

> Pavel,
>
> Thanks for the help. I can run it from the command
> line.
>
> --- Pavel Krustev <pkrastev@globul.bg> wrote:
> > Can you try to execute the bat file manually?
> >
> > Start menu -> Run
> > type 'cmd' <ENTER>
> >
> > in the DOS shell enter:
> >
> > cd Desktop
> > cygwin.bat
> >
> > If it run OK, then there is still a problem with
> > windows handling the BAT file
> > extensions in the gui. If it wouldn't start, there
> > is a problem with the bat
> > file itself, try to run X/cygwin from the start menu
> > group of Cygwin
> >
> > Hope that helps.
> > Pavel
> >
> > > I do not have the .bat extension file in the list
> >
> > either.
> >
> > > ----- Original Message ----
> > > From: "Davies, Roger"
> >
> > <Roger.Davies@swiftbrands.com>
> >
> > > To: cygwin-xfree@cygwin.com
> > > Sent: Saturday, December 16, 2006 12:44:17 AM
> > > Subject: RE: cygwin/x fails to run on WinXP when
> >
> > cygwin.bat executed
> >
> > > instead a different software phpEdit runs
> > >
> > >
> > > If I'm not mistaken, phpEdit defined itself as the
> >
> > default program for
> >
> > > bat files.  To check, open a Windows Explorer (not
> >
> > internet explorer,
> >
> > > select Tools then Folder Options, go to the File
> >
> > Types tab and look for
> >
> > > the .BAT extension.  It probably is se to open
> >
> > with phpEdit.  I think if
> >
> > > you delete that extension type, it will default
> >
> > back to running. I
> >
> > > certainly have no entry for bat file types.   Hope
> >
> > that helps.
> >
> > > ______________
> > > Roger Davies
> > > PeopleSoft HRMS
> > > 970.397.5548
> > > -----Original Message-----
> > > From: cygwin-xfree-owner@cygwin.com
> > > [mailto:cygwin-xfree-owner@cygwin.com] On Behalf
> >
> > Of Shewaferaw Shibeshi
> >
> > > Sent: Friday, December 15, 2006 10:24 PM
> > > To: cygwin-xfree@cygwin.com
> > > Subject: cygwin/x fails to run on WinXP when
> >
> > cygwin.bat executed instead
> >
> > > a different software phpEdit runs
> > >
> > > 1)       cygwin has been running on my WinXP
> >
> > machine as a charm until I
> >
> > > installed phpEdit software few days ago. After I
> >
> > installed this software
> >
> > > when I try to run the program by executing (double
> >
> > clicking the icon)
> >
> > > cygwin.bat instead of cygwin this newly installed
> >
> > program phpEdit starts
> >
> > > to run. It sounds some form of hijacking cygwin
> >
> > takes place.
> >
> > > 2)       As an intervention even after I
> >
> > uninstalled phpedit cygwin
> >
> > > still fails to run. What happens is instead the
> >
> > famous Windows  dialogue
> >
> > > box pop ups asking which program to use to open
> >
> > cygwin.bat file
> >
> > > defaulting to notepad as the best program to open
> >
> > it-remember my
> >
> > > intention is to run not to see content of file.
> > > 3)       As a second intervention, I unistalled
> >
> > the old cygwin and
> >
> > > downloaded a fresh setup.exe file and also
> >
> > downloaded and performed a
> >
> > > new install even from different mirrors. But the
> >
> > problem still persist.
> >
> > > Again and again it ask me to choose a program to
> >
> > open the "cygwin.bat"
> >
> > > file despite the fact that what I want is to run
> >
> > not to open. When I use
> >
> > > note pad and open the content I only get a text
> >
> > file of "cygwin.bat"
> >
> > > with the following content:
> > >                      @echo off
> > >                       C:
> > >                       chdir C:\cygwin\bin
> > >                       bash --login -i
> > >
> > >           How can I make cygwin run?  Why
> >
> > particularly this problem is
> >
> > > manifested after I
> > >            installed phpEdit?  When cygwin
> >
> > supposed to run when
> >
> > > cygwin.bat executed
> > >            why phpEdit instead run?
> > >
> > >
> > > Shewa
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> >
> > protection around
> >
> > > http://mail.yahoo.com
> > >
> > > --
> > > 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/
> >
> > > Important Notice:
> > >
> > > The contents of this electronic message and any
> >
> > attachments are intended
> >
> > > only for the addressee and may contain
> >
> > confidential and privileged
> >
> > > information.  If you are not the addressee, you
> >
> > are notified that any
> >
> > > transmission, distribution, downloading, printing
> >
> > or photocopying of the
> >
> > > contents is strictly prohibited.  If you have
> >
> > received this message in
> >
> > > error, please notify the sender by return e-mail
> >
> > immediately and destroy
> >
> > > all copies of the message and any attachments.
> >
> > Thank you.
> >
> > > --
> > > 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/
> >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> >
> > protection around
> >
> > > http://mail.yahoo.com
> > >
> > > --
> > > 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/
> >
> > --
> > Pavel Krustev
> > Head of Management Systems Section, O&M Division
> > Globul
> >
> > mobile: (+359 89) 8400 842
> > phone: (+359 2 ) 9428 842
> >    fax: (+359 2 ) 9428 802
> > e-mail: pkrastev@globul.bg
> >
> > --
> > 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/
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> 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/

-- 
Pavel Krustev
Head of Management Systems Section, O&M Division
Globul

mobile: (+359 89) 8400 842
phone: (+359 2 ) 9428 842
   fax: (+359 2 ) 9428 802 
e-mail: pkrastev@globul.bg

--
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]