From: Will <schimpanski@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Start windows applications (.exe, .bat) from .emacs
Date: Mon, 28 May 2007 16:01:37 +0200 [thread overview]
Message-ID: <5c05lgF2th359U1@mid.individual.net> (raw)
In-Reply-To: <5bo120F2shbi2U1@mid.individual.net>
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
prev parent reply other threads:[~2007-05-28 14:01 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
2007-05-25 12:47 ` Lennart Borgman (gmail)
2007-05-28 14:01 ` Will [this message]
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=5c05lgF2th359U1@mid.individual.net \
--to=schimpanski@gmx.de \
--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).