Re: Windows default editor for psql \e - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Windows default editor for psql \e
Date
Msg-id 200611290359.kAT3xg026642@momjian.us
Whole thread Raw
In response to Re: Windows default editor for psql \e  (Richard Broersma Jr <rabroersma@yahoo.com>)
Responses Re: Windows default editor for psql \e  (Richard Broersma Jr <rabroersma@yahoo.com>)
Re: Windows default editor for psql \e  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
Richard Broersma Jr wrote:
> > Sure, see the psql manual page, but setting EDITOR is the easiest way.
> > This works on Win32 too.
>
> c:\set EDITOR="c:\Program Files\Vim\vim70\gvim.exe"
>
> Thanks Bruce, this worked like a charm!
>
> And sorry to drag this, but does anyone know the windows (xp) equivalent to:
> /etc/rc.conf for *nix? i.e. the place that windows uses to store system wide variables from future
> use?  Is still the autoexec.bat? :o)

OK, I am freaked out that I know the answer to this, but it My
Computer/Properties/Advanced/Environment Variables.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: Windows default editor for psql \e
Next
From: Richard Broersma Jr
Date:
Subject: Re: Windows default editor for psql \e