PostgreSQL 9.5.1 fails to install on Windows 7 64 bit - postgresql

Both 64 bit and 32 bit installers fail with the message:
There has been an error.
The environment variable COMSPEC does not seem to point the cmd.exe or there
is a trailing semicolon present. Please fix this variable and restart installation.
I checked the COMSPEC variable and there doesn't seem to be a problem. I double checked with:
%COMSPEC%" /C "echo test ok"
Everything seems ok. I am lost here. Couldn't find anything to help. I am also attaching the installer log:
Log started 03/15/2016 at 10:37:37
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Executing D:\TEMP/postgresql_installer_79c6abfe43/temp_check_comspec.bat
Script exit code: 1
Script output:
Script stderr:
'"D:\TEMP\POSTGR~1\TEMP_C~1.BAT"' is not recognized as an internal or external command,
operable program or batch file.
Error running D:\TEMP/postgresql_installer_79c6abfe43/temp_check_comspec.bat : '"D:\TEMP\POSTGR~1\TEMP_C~1.BAT"' is not recognized as an internal or external command,
operable program or batch file.

Related

Installing files via Composer via Command Line | "'$' is not recognized as an internal or external command, operable program or batch file."

So I am attempting to install some files from Send Grid via Composer usind the CommandLine.
I am following a tutorial with the link here https://www.youtube.com/watch?v=fEobqi3N7zw
The guy in the video has no problem using Composer via the Command Line in the Windows Command Prompt, but when I input the command $ go_www, my PC whines and stamps it's feet, giving me the following line:
'$' is not recognized as an internal or external command,
operable program or batch file.
In a nutshell, why?
System Information:
Windows 10 64x
I have looked at other posts on here, to no avail, I have tried opening the Command Line too as System Administrator, but to avail. I have tried restarting the system, to no avail, I can confirmed I have composer installed into the correct directory, to no avail .
$ in a shell indicates the shell is not owned by a superuser, it is not part of the command. Try running go_www. Also, the video you linked seems to be using a bash shell, whereas you appear to be running a Windows command prompt from the error message you included in your question, which might be a problem too.
In any case, go_www is an alias the video author uses to quickly navigate to the folder of interest. Try manually navigating there using cd.

'sed' is not recognized as an internal or external command- ETHERMINT

Im having trouble following the tutorial for the node start on Ethermint.
After passing in the cmd: make install, i get the following error.
In my work computer, is not working, but in my personal computer is ?
What seems to be the issue ?
'sed' is not recognized as an internal or external command,
operable program or batch file.
process_begin: CreateProcess(NULL, which docker, ...) failed.
Makefile:29: pipe: Bad file descriptor
Makefile:187: *** missing separator. Stop.
I tried to install a windows version of "sed" but cant find a proper version.

Error 'mongodump' is not recognized as an internal or external command, operable program or batch file

I have read the documentation and followed the steps to run mongodump on windows machine, but still getting this error.
I tried to set the path using this command set path="C:\Program Files\MongoDB\Server\4.4\bin" and added the path in environmental variables but still getting the error. What should I do ?

Run X11 Server (VcXsrv) from Windows Powershell

I would like to set up an X11 Server so that I can run graphical Linux applications using the Windows Subsystem for Linux (WSL 2). I have tried following the instructions on this site.
The command
choco install vcxsrv
completed successfully. But I cannot see how to start XLaunch (VcXsrv).
I already have Cygwin/X X Server installed on my machine and I am still able to launch that successfully. But when I try the following command,
PS C:\WINDOWS\system32> vcxsrv
I get the following error message,
vcxsrv : The term 'vcxsrv' is not recognized as the name of a cmdlet, function, script file, or operable program.
I have spent quite a bit of time trying to figure out how to start XLaunch (VcXsrv) without any success.
Try to look on default folder installation:
"C:\Program Files\VcXsrv\xlaunch.exe"
Try this command to run VcXsrv
xfsettingsd --sm-client-disable; xfce4-panel --sm-client-disable --disable-wm-check &
or
C:\Program Files\VcXsrv\xlaunch.exe
Refer the following link to understand VcXsrv installation and it's usage,
Running WSL GUI Apps on Windows 10

I get this error when trying to set up a virtual environment using cmd on windows 10

'setprojectdir' is not recognized as an internal or external command,
operable program or batch file.
I have activated the environment and was following this tutorial
setprojectdir is a command from virtualenvwrapper. Do you have virtualenvwrapper-win installed? Check its bat-files are in the %PATH%.