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

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

Re: [h-e-w] Invoking Emacs from a "temporary environment"


From: stephen_leake
Subject: Re: [h-e-w] Invoking Emacs from a "temporary environment"
Date: Mon, 30 Dec 2013 08:32:11 -0700
User-agent: Roundcube Webmail/0.8.5

Dani Moncayo <address@hidden> writes:

This approach work when I start an interactive cmd console and do:
  set HOME=C:\whatever
  C:\path\to\runemacs.exe

But if I try to do everything with this single command (intended for
the target of a shortcut):
   cmd /C "set HOME=C:\whatever &&  C:\path\to\runemacs.exe"

I don't know the exact explanation, but it appears that the result of
"set" is not preserved across "&&".

So you'll have to write a .bat file, and invoke that from the shortcut.

Or install Cygwin, and use 'bash -c export HOME= .. ; runemacs.exe'

--
-- Stephe




reply via email to

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