From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Newsgroups: gmane.emacs.help Subject: Re: Start windows applications (.exe, .bat) from .emacs Date: Fri, 25 May 2007 15:05:50 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: References: <5bo120F2shbi2U1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1180096902 23877 80.91.229.12 (25 May 2007 12:41:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 May 2007 12:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 25 14:41:38 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HrZ6v-0001dU-QX for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2007 14:41:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrZ6v-0006Y7-9H for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2007 08:41:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (windows-nt) Cancel-Lock: sha1:LfIwFcrl6WfO7THhLvjJcX6/98A= Original-Lines: 17 Original-NNTP-Posting-Host: 88.80.135.102 Original-X-Trace: news.sunsite.dk DXC=`SNNQmikADW[eoV[BRG`:]YSB=nbEKnk[V`^KZl[Dm9\4La5I_Zi\^^]Z1k]4VTiQSIJ`JaB=N:aWloO[k44ViDXMoPiHji4^nV Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:148837 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44428 Archived-At: 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.