From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: van.1994@hotmail.com
Subject: BUG #17471: COMSPEC error
Date: Fri, 29 Apr 2022 06:45:23 +0000
Message-ID: <17471-f37c3a3f2405b38a@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17471
Logged by: Van Avetisyan
Email address: van.1994@hotmail.com
PostgreSQL version: 14.2
Operating system: Microsoft Windows 10 Pro
Description:
I've tried to install multiple versions of PostgreSQL: 10.20, 11.15, 14.2...
But all of them fails at the beginning with the following error:
"There has been an error.
The environment variable ComSpec does not seem to point to the cmd.exe or
there is a trailing semicolon present. Please fix this variable and restart
installation."
On my system variables I have:
Variable name: ComSpec
VAriable value: C:\Windows\System32\cmd.exe
If I copy this route to windows folder it opens the cmd...
If I search on CMD: "%COMSPEC%" /C "echo test ok" it return test ok
If I search on CMD: echo %COMSPEC% it returns
C:\Windows\System32\cmd.exe
Basically I've tried everything, even change the fsutil 8dot3name... command
from:
https://stackoverflow.com/questions/15287207/problems-installing-postgresql-9-2
But anything is working.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, van.1994@hotmail.com
Subject: Re: BUG #17471: COMSPEC error
In-Reply-To: <17471-f37c3a3f2405b38a@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox