Re: Can't change working directory to C:/Documents and Settings in Windows

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Jorge Godoy <jgodoy(at)gmail(dot)com>
Cc: Casey Crosbie <casey(dot)crosbie(at)noaa(dot)gov>, pgsql-general(at)postgresql(dot)org
Subject: Re: Can't change working directory to C:/Documents and Settings in Windows
Date: 2007-07-02 07:28:54
Message-ID: 20070702072854.GA32488@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Jul 01, 2007 at 10:46:22PM -0300, Jorge Godoy wrote:
> On Sunday 01 July 2007 22:25:24 Casey Crosbie wrote:
> > Jorge,
> >
> > Thanks for the suggestion. But unfortunately, I tried both
> > \cd "C:/Document~1" and just \cd C:/"Document~1" and neither worked.
>
> Sorry. It should be up to 8 chars: "Docume~1" or some variation like that
> (I've seen ~2 due to some unknown reason). This looks like a Windows
> problem on finding directories with spaces in its name. The same happens
> with diacriticals...

To help others in the future, the way to find out what the directory short
name actually is, use "dir /x c:\".

Not that it was the problem this time, but I'm sure someone will need it at
some point.

//Magnus

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2007-07-02 08:26:46 Re: postgressqlnot support inwindows 2000
Previous Message Pavel Stehule 2007-07-02 05:54:46 Re: assigning password from script