help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Start windows applications (.exe, .bat) from .emacs


From: Ivan
Subject: Re: Start windows applications (.exe, .bat) from .emacs
Date: Fri, 25 May 2007 15:05:50 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]