Re: [HACKERS] Bug in WAL backup documentation

Magnus Hagander <mha@sollentuna.net>

From: "Magnus Hagander" <mha@sollentuna.net>
To: <pgsql-hackers@postgresql.org>, "Simon Riggs" <simon@2ndquadrant.com>, "Martijn van Oosterhout" <kleptog@svana.org>
Cc: "Tom Lane" <tgl@sss.pgh.pa.us>, "Bernd Helmle" <mailings@oopsware.de>, <pgsql-patches@postgresql.org>
Date: 2006-11-03T23:43:33Z
Lists: pgsql-hackers
> > > Since 8.1 has done this all along and no one's actually 
> complained 
> > > about it, I guess no one is using scripts that do "cd".  I'm 
> > > inclined to go with Bernd's suggestion to change the docs 
> to match 
> > > the code, but does anyone have a contrary opinion?
> 
> > In Unix you can easily prepend $PWD to the string, but I don't know 
> > how easy that is in Windows.
> 
> Windows input anyone?

%CD% gives the same as $PWD in a command shell:

C:\Program Files\Microsoft Visual Studio 8\VC>echo %CD%
C:\Program Files\Microsoft Visual Studio 8\VC


//Magnus