Menu

#2520 Installing gnuplot generates directory name is invalid error

None
open-duplicate
nobody
None
2023-02-01
2022-04-14
Anonymous
No

On a clean new installation of the latest version of gnuplot, I am getting this error:
Unable to execute file:
C\Program Files\gnuplot\bin\wgnuplot.exe
CreateProcess failed; code 267.
The directory name is invalid.
Trying to install gp543-win64-mingw.exe
Running Windows 11 Version 21H2 (OS Build 22000.556) on a PC

Discussion

  • Tatsuro MATSUOKA

    I assume you use the command prompt.
    This occurs because installed path has a white space
    Try to quote paih by "".

    "C:\Program Files\gnuplot\bin\wgnuplot.exe"
    
     

    Last edit: Tatsuro MATSUOKA 2022-04-15
  • Tatsuro MATSUOKA

    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Tatsuro MATSUOKA

    For the power shell, use

    & "C:\Program Files\gnuplot\bin\wgnuplot.exe"
    
     
  • Tatsuro MATSUOKA

    • status: open-not-a-bug --> open
     
  • Tatsuro MATSUOKA

    Ah! I misunderstood what was happening.

    Is the phenomenon related to the below?
    https://sourceforge.net/p/gnuplot/bugs/2224/

     
  • Keith W. Blackwell

    Looks like an exact duplicate of https://sourceforge.net/p/gnuplot/bugs/2224/

     
  • Ethan Merritt

    Ethan Merritt - 2023-02-01
    • status: open --> open-duplicate
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.