[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Start windows applications (.exe, .bat) from .emacs
From: |
Will |
Subject: |
Re: Start windows applications (.exe, .bat) from .emacs |
Date: |
Mon, 28 May 2007 16:01:37 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (Windows/20070221) |
Hi!
Thanks for the comments sofar. However this command does not execute the
batch file:
(w32-shell-execute "open" "z:\00_Preferences\Emacs\emacsW32.bat")
----emacsW32.bat-------
ECHO "Emacs - Win32 Batch Execution File "
SET PATH=%PATH%; C:\Program Files\Adobe\Acrobat 7.0\Acrobat; C:\Program
Files\Ghostgum\gsview;C:\Program Files\gs\gs8.56\bin;C:\Program
Files\Mozilla_Firefox;C:\Program Files\SAS\SAS 9.1;C:\Program
Files\Tinn-R\bin
start thunderbird.exe
start firefox.exe
start explorer.exe
----emacsW32.bat-------
On the other side, I can start the batch file with C-x d RET ! when I am
in dired.
What do I do wrong?
Thanks for advice,
Will
Will skrev:
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?
Thanks for your help in advance,
Will