all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ShellExecute failed
@ 2004-09-14 21:21 Sam Steingold
  2004-09-14 22:25 ` Jason Rumney
  2004-09-14 23:06 ` Lennart Borgman
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Steingold @ 2004-09-14 21:21 UTC (permalink / raw)


GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
 of 2004-09-13 on WINSTEINGOLDLAP
--with-msvc (12.00)

emacs -q
M-x browse-url RET
http://clisp.cons.org RET

the browser shows the web page just fine, but Emacs signals an error:

Debugger entered--Lisp error: (error "ShellExecute failed: The system cannot find the file specified.
")
  w32-shell-execute("open" "http://clisp.cons.org")
  browse-url-default-windows-browser("http://clisp.cons.org" nil)
  apply(browse-url-default-windows-browser "http://clisp.cons.org" nil)
  browse-url("http://clisp.cons.org" nil)
  call-interactively(browse-url)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Are you smart enough to use Lisp?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-14 21:21 ShellExecute failed Sam Steingold
@ 2004-09-14 22:25 ` Jason Rumney
  2004-09-14 23:06 ` Lennart Borgman
  1 sibling, 0 replies; 7+ messages in thread
From: Jason Rumney @ 2004-09-14 22:25 UTC (permalink / raw)


Sam Steingold <sds@gnu.org> writes:

> M-x browse-url RET
> http://clisp.cons.org RET
>
> the browser shows the web page just fine, but Emacs signals an error:
>
> Debugger entered--Lisp error: (error "ShellExecute failed: The system cannot find the file specified.
> ")
>   w32-shell-execute("open" "http://clisp.cons.org")

This function only reports what the system tells it. Since the OS is
not Free, we can only speculate about what is going wrong, but
w32-shell-execute does seem to be doing everything according to the
documented system interfaces.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-14 21:21 ShellExecute failed Sam Steingold
  2004-09-14 22:25 ` Jason Rumney
@ 2004-09-14 23:06 ` Lennart Borgman
  2004-09-15 13:52   ` Sam Steingold
  1 sibling, 1 reply; 7+ messages in thread
From: Lennart Borgman @ 2004-09-14 23:06 UTC (permalink / raw)


What browser are you using?

- Lennart


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <emacs-devel@gnu.org>
Sent: Tuesday, September 14, 2004 11:21 PM
Subject: ShellExecute failed


: GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
:  of 2004-09-13 on WINSTEINGOLDLAP
: --with-msvc (12.00)
:
: emacs -q
: M-x browse-url RET
: http://clisp.cons.org RET
:
: the browser shows the web page just fine, but Emacs signals an error:
:
: Debugger entered--Lisp error: (error "ShellExecute failed: The system
cannot find the file specified.
: ")
:   w32-shell-execute("open" "http://clisp.cons.org")
:   browse-url-default-windows-browser("http://clisp.cons.org" nil)
:   apply(browse-url-default-windows-browser "http://clisp.cons.org" nil)
:   browse-url("http://clisp.cons.org" nil)
:   call-interactively(browse-url)
:   execute-extended-command(nil)
:   call-interactively(execute-extended-command)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-14 23:06 ` Lennart Borgman
@ 2004-09-15 13:52   ` Sam Steingold
  2004-09-15 14:58     ` Sam Steingold
  2004-09-15 16:56     ` Benjamin Riefenstahl
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Steingold @ 2004-09-15 13:52 UTC (permalink / raw)
  Cc: emacs-devel

> * Lennart Borgman <yraaneg.obetzna.073@fghqrag.yh.fr> [2004-09-15 01:06:07 +0200]:
>
> What browser are you using?

firefox

> ----- Original Message ----- 
> From: "Sam Steingold" <sds@gnu.org>
> To: <emacs-devel@gnu.org>
> Sent: Tuesday, September 14, 2004 11:21 PM
> Subject: ShellExecute failed
>
>
> : GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
> :  of 2004-09-13 on WINSTEINGOLDLAP
> : --with-msvc (12.00)
> :
> : emacs -q
> : M-x browse-url RET
> : http://clisp.cons.org RET
> :
> : the browser shows the web page just fine, but Emacs signals an error:
> :
> : Debugger entered--Lisp error: (error "ShellExecute failed: The system
> cannot find the file specified.
> : ")
> :   w32-shell-execute("open" "http://clisp.cons.org")
> :   browse-url-default-windows-browser("http://clisp.cons.org" nil)
> :   apply(browse-url-default-windows-browser "http://clisp.cons.org" nil)
> :   browse-url("http://clisp.cons.org" nil)
> :   call-interactively(browse-url)
> :   execute-extended-command(nil)
> :   call-interactively(execute-extended-command)

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Even Windows doesn't suck, when you use Common Lisp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-15 13:52   ` Sam Steingold
@ 2004-09-15 14:58     ` Sam Steingold
  2004-09-15 16:56     ` Benjamin Riefenstahl
  1 sibling, 0 replies; 7+ messages in thread
From: Sam Steingold @ 2004-09-15 14:58 UTC (permalink / raw)


> * Sam Steingold <fqf@tah.bet> [2004-09-15 09:52:05 -0400]:
>
>> * Lennart Borgman <yraaneg.obetzna.073@fghqrag.yh.fr> [2004-09-15 01:06:07 +0200]:
>>
>> What browser are you using?
> firefox

and I do not observe this problem with IE.
(so this is not Emacs-specific).
http://bugzilla.mozilla.org/show_bug.cgi?id=259573

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
(lisp programmers do it better)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-15 13:52   ` Sam Steingold
  2004-09-15 14:58     ` Sam Steingold
@ 2004-09-15 16:56     ` Benjamin Riefenstahl
  2004-09-15 18:51       ` Sam Steingold
  1 sibling, 1 reply; 7+ messages in thread
From: Benjamin Riefenstahl @ 2004-09-15 16:56 UTC (permalink / raw)


Hi Sam,


Sam Steingold <sds@gnu.org> writes:
> firefox

When I last installed Firefox on Windows, it left some DDE-related
stuff from IE in the file association entries in the registry.  This
lead to similar behaviour when double-clicking some URL shortcuts in
Windows Explorer.

Check your registry entries for "http", ".html" and/or whatever the
actual file type is called and delete the DDE stuff.


benny

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ShellExecute failed
  2004-09-15 16:56     ` Benjamin Riefenstahl
@ 2004-09-15 18:51       ` Sam Steingold
  0 siblings, 0 replies; 7+ messages in thread
From: Sam Steingold @ 2004-09-15 18:51 UTC (permalink / raw)


Hi Benjamin,

> * Benjamin Riefenstahl <Orawnzva.Evrsrafgnuy@rcbfg.qr> [2004-09-15 18:56:34 +0200]:
>
> Sam Steingold <sds@gnu.org> writes:
>> firefox
>
> When I last installed Firefox on Windows, it left some DDE-related
> stuff from IE in the file association entries in the registry.  This
> lead to similar behaviour when double-clicking some URL shortcuts in
> Windows Explorer.
>
> Check your registry entries for "http", ".html" and/or whatever the
> actual file type is called and delete the DDE stuff.

indeed, removing
HKEY_CLASSES_ROOT\http\shell\open\ddeexec\
HKEY_CLASSES_ROOT\https\shell\open\ddeexec\
solved the problem.
thanks!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
If abortion is murder, then oral sex is cannibalism.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-09-15 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 21:21 ShellExecute failed Sam Steingold
2004-09-14 22:25 ` Jason Rumney
2004-09-14 23:06 ` Lennart Borgman
2004-09-15 13:52   ` Sam Steingold
2004-09-15 14:58     ` Sam Steingold
2004-09-15 16:56     ` Benjamin Riefenstahl
2004-09-15 18:51       ` Sam Steingold

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.