unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Windows XP: Set PATH Variable by Script/Batch
@ 2007-06-06 15:24 Will
  2007-06-06 17:02 ` poti
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Will @ 2007-06-06 15:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hallo,

is there a way to set the PATH Variable under MS Windows XP 
automatically by a script/batch file (cf. autoexec.bat in Win98) to 
avoiding using the Graphical User Interface (My Computer > Properties > 
Advanced > Environment Variables > ...)?

Thanks for helping in advance,

Will

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows XP: Set PATH Variable by Script/Batch
  2007-06-06 15:24 Windows XP: Set PATH Variable by Script/Batch Will
@ 2007-06-06 17:02 ` poti
  2007-06-06 18:02 ` Eli Zaretskii
  2007-06-07  2:31 ` Bob Babcock
  2 siblings, 0 replies; 4+ messages in thread
From: poti @ 2007-06-06 17:02 UTC (permalink / raw)
  To: help-gnu-emacs

On 17:24 Wed 06 Jun     , Will wrote:
> Hallo,
> 
> is there a way to set the PATH Variable under MS Windows XP 
> automatically by a script/batch file (cf. autoexec.bat in Win98) to 
> avoiding using the Graphical User Interface (My Computer > Properties > 
> Advanced > Environment Variables > ...)?
> 
> Thanks for helping in advance,
> 
> Will
In Emacs, you can use getenv and setenv. There are ways to do this 
with VB scripts too. See Siep Kroonenberg's site on portable TeX
Live (http://tex.aanhet.net/portable/ ) 
for the Windows way and my site ( http://potis.org/software/livedvd/ ) for 
an elisp way. The problem of setting PATH had to be addressed to make
those projects work.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows XP: Set PATH Variable by Script/Batch
  2007-06-06 15:24 Windows XP: Set PATH Variable by Script/Batch Will
  2007-06-06 17:02 ` poti
@ 2007-06-06 18:02 ` Eli Zaretskii
  2007-06-07  2:31 ` Bob Babcock
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2007-06-06 18:02 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Will <schimpanski@gmx.de>
> Date: Wed, 06 Jun 2007 17:24:43 +0200
> 
> is there a way to set the PATH Variable under MS Windows XP 
> automatically by a script/batch file (cf. autoexec.bat in Win98) to 
> avoiding using the Graphical User Interface (My Computer > Properties > 
> Advanced > Environment Variables > ...)?

Why do you need this?  (I'm asking because it's quite possible that
you don't need to modify PATH at all.)

For example, if you need this to get the Emacs icon invoke Emacs,
there's no need to modify PATH.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows XP: Set PATH Variable by Script/Batch
  2007-06-06 15:24 Windows XP: Set PATH Variable by Script/Batch Will
  2007-06-06 17:02 ` poti
  2007-06-06 18:02 ` Eli Zaretskii
@ 2007-06-07  2:31 ` Bob Babcock
  2 siblings, 0 replies; 4+ messages in thread
From: Bob Babcock @ 2007-06-07  2:31 UTC (permalink / raw)
  To: help-gnu-emacs

Will <schimpanski@gmx.de> wrote in news:5co1srF3283cpU1@mid.individual.net:

> Hallo,
> 
> is there a way to set the PATH Variable under MS Windows XP 
> automatically by a script/batch file (cf. autoexec.bat in Win98) to 
> avoiding using the Graphical User Interface (My Computer > Properties > 
> Advanced > Environment Variables > ...)?

Look for pathman.exe in the various Microsoft resource kits.  A search at 
microsoft.com should find a free download.  Setx.exe might also be useful 
for setting other environment variables such as HOME.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-07  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 15:24 Windows XP: Set PATH Variable by Script/Batch Will
2007-06-06 17:02 ` poti
2007-06-06 18:02 ` Eli Zaretskii
2007-06-07  2:31 ` Bob Babcock

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).