Dani Moncayo <dmonc...@gmail.com> 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