From: Eli Zaretskii <eliz@gnu.org>
Cc: lennart.borgman@gmail.com, emacs-devel@gnu.org
Subject: Re: Bug: can not start a w32 GUI program from Emacs
Date: Wed, 27 Dec 2006 14:19:44 +0200 [thread overview]
Message-ID: <umz591qfz.fsf@gnu.org> (raw)
In-Reply-To: <7dbe73ed0612270400q3a1f6a63kff7b75e8cb60b300@mail.gmail.com> (mathias.dahl@gmail.com)
> Date: Wed, 27 Dec 2006 13:00:06 +0100
> From: "Mathias Dahl" <mathias.dahl@gmail.com>
> Cc: emacs-devel@gnu.org
>
> > (w32-shell-execute "open" ".")
> >
> > just gives "ShellExecute failed: No application is associated with the
> > specified file for this operation".
>
> If you thought the above to work, in the same way that "start ." works
> from cmd.exe I think you simply missed that "." is "magic" only inside
> cmd.exe.
"." is magic not only for cmd.exe, it is recognized by all
file-related primitives of the Windows API. The error message
actually tells what is wrong in this case: Windows doesn't have any
application associated with ".", so it doesn't know what application
to run for the "open" verb. But if you try
(w32-shell-execute nil "explorer.exe" ".")
you will see that "." _is_, in fact, supported outside cmd.exe.
next prev parent reply other threads:[~2006-12-27 12:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-27 0:38 Bug: can not start a w32 GUI program from Emacs Lennart Borgman (gmail)
2006-12-27 2:30 ` Lennart Borgman (gmail)
2006-12-27 8:24 ` Eli Zaretskii
2006-12-27 10:52 ` Lennart Borgman (gmail)
2006-12-27 12:00 ` Mathias Dahl
2006-12-27 12:19 ` Eli Zaretskii [this message]
2006-12-27 12:50 ` Lennart Borgman (gmail)
2006-12-27 14:19 ` Eli Zaretskii
2006-12-27 14:33 ` Lennart Borgman (gmail)
2006-12-27 19:21 ` Eli Zaretskii
2006-12-27 12:36 ` Lennart Borgman (gmail)
2006-12-28 9:26 ` Jason Rumney
2006-12-28 9:32 ` Lennart Borgman (gmail)
2006-12-30 1:09 ` Lennart Borgman (gmail)
2006-12-30 15:49 ` Eli Zaretskii
2006-12-30 16:04 ` Lennart Borgman (gmail)
2006-12-30 17:00 ` Eli Zaretskii
2006-12-30 17:28 ` Lennart Borgman (gmail)
2006-12-30 18:01 ` Eli Zaretskii
2006-12-30 18:22 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=umz591qfz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.