unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ivan <ivanushka@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Start windows applications (.exe, .bat)  from .emacs
Date: Fri, 25 May 2007 15:05:50 +0300	[thread overview]
Message-ID: <uabvtaz1d.fsf@cybuild.com> (raw)
In-Reply-To: 5bo120F2shbi2U1@mid.individual.net

On петък, Май 25 2007, Will wrote:

> Hi, there!
>
> I'd like to start some windows applications which constitute my
> working environment (e.g. firefox.exe or mysettings.bat) when I start
> emacs.
> How can I do that using the regular MS Windows CMD-shell?
> Is there also a way to set MS Windows environment variables in your
> .emacs or the called .bat file?

You can execute executables this way:

(shell-command "path to executable")

It can do it synchronously or a-synchronously. Find more information
in the manual.

  reply	other threads:[~2007-05-25 12:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 11:53 Start windows applications (.exe, .bat) from .emacs Will
2007-05-25 12:05 ` Ivan [this message]
2007-05-25 12:47 ` Lennart Borgman (gmail)
2007-05-28 14:01 ` Will

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uabvtaz1d.fsf@cybuild.com \
    --to=ivanushka@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).