Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCUmu-0005td-As for pgsql-admin@arkaria.postgresql.org; Wed, 08 Nov 2017 18:09:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eCUmt-0007cA-U0 for pgsql-admin@arkaria.postgresql.org; Wed, 08 Nov 2017 18:09:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCUms-0007Xq-VX for pgsql-admin@postgresql.org; Wed, 08 Nov 2017 18:09:19 +0000 Received: from resqmta-ch2-04v.sys.comcast.net ([2001:558:fe21:29:69:252:207:36]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCUmp-0005kk-P4 for pgsql-admin@postgresql.org; Wed, 08 Nov 2017 18:09:17 +0000 Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-04v.sys.comcast.net with ESMTP id CUmheeXc2t8cgCUmmeOG4C; Wed, 08 Nov 2017 18:09:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1510164552; bh=2bNC8pizkTjqaS4sMcoxPp+zV92S0m7HOL0ZHrfSuFU=; h=Received:Received:To:From:Subject:Message-ID:Date:MIME-Version: Content-Type; b=JXmGOQ8VgWR+Vp/X7VPbmhirnllV/xnWVVO1VndFla+rQZuXUgcY9BpMkZm97/GH8 aHOw0nka2bhEGbnkePcfjcdTL8cjKXqKH+/8Xo2/FVSZlv0TIqOYhDfUhRZLfHDRTA TLGahBDWQWjsfuxDhB01v5X5OZpfC5iMKxcX+oizqztZsUJZWnVKOgTQs8IvEjlxpL QhnuhAdpznPeKzrP09qJ6i2+9xecXROFU+dnsPZAEgZ1T286+IEvn94CDJuRnYTf/X LoDrITJ2GXDGsDk64VVQuNl3x2ZQw7YG2EHGLLIdI6C0oiEH5OtweYXWiQwBanBbDg 3MOaY9Uoe7FOQ== Received: from [192.168.0.65] ([73.68.146.26]) by resomta-ch2-05v.sys.comcast.net with SMTP id CUmlensG9LIzOCUmmevfny; Wed, 08 Nov 2017 18:09:12 +0000 To: pgsql-admin@postgresql.org From: George Neuner Subject: Re: Running Windows binaries from non-English folder Message-ID: <02079694-8d58-1932-92b1-761dc63a869d@comcast.net> Date: Wed, 8 Nov 2017 13:09:11 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CMAE-Envelope: MS4wfEjMu4VKQsUFgvfPL7tBtJ83U8hITvP0BbRwHs+O0hZQV4avOFnDWvKJYqBlOTEYxry6bVGuEwxFVvMiGaqPyWE22cORZ9RGM2mAmAJZCAZNkbjMe55p 4hiGPij0f/Yw3oVInWFCr8+tO0zUjRhOwrTsghP8YrfhfooFRkhBPuDSYkw4761ORRAfSv+P2EoKRA== List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Tue, 07 Nov 2017 19:30:46 +0000, Yuri Martsinovsky wrote: > If I run > "C:\????????\pg_ctl.exe" > I get this error: > invalid binary: "C:\????????\pg_ctl.exe" > > The same happens when running initdb.exe > Looks like the utility just cannot access its own file because of the > russian characters. Try running it using 8.3 path names.  Every file and folder in NTFS has 2 names - one "natural" and a secondary "short" DOS 8.3 name+ext format name.  You can see short names using DIR /X in a console. The short names should be ASCII (subset) only. E.g., on my system pg_ctl is in C:\program files\postgresql\9.6\bin.   It's short name is  C:\PROGRA~1\POSTGR~1\9.6\bin\pg_ctl.exe These short names don't permit spaces or non-printing characters, so they can work in situations where the natural name may not. George -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin