You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I install Herd on my Windows machine, everytime I try to run the command herd, or php, etc, I always recieve the message: The system cannot find the path specified. I'm not even an expert on windows but I found that the problem is releated with the name of my current user (folder) containt an accent mark and a space.
Let say, e.g. C:\User\José Perengano, so the problem was in the php.bat file (and all the other .bat files that contain the full path), I just replace the base part with the variable %USERPROFILE% and the path looks like this "%USERPROFILE%\.config\herd\bin\php83\php.exe" %*.
I tried to solve the problem just scaping the space, but that doesn't work so I choose to use the system variable, and just to be clear, this was a fresh installation, I do not touch anything before.
Steps to reproduce
Create a local user on a Windows Machine, and the user folder should have to contain a space, and an accent mark
Relevant log output
The system cannot find the path specified
The text was updated successfully, but these errors were encountered:
Platform
Windows
Operating system version
Windows 11 Home Single Language
System architecture
Intel (x86)
Herd Version
1.0.1
PHP Version
8.3
Bug description
The next bug is simple to fix, I do it my self.
When I install Herd on my Windows machine, everytime I try to run the command
herd
, orphp
, etc, I always recieve the message:The system cannot find the path specified
. I'm not even an expert on windows but I found that the problem is releated with the name of my current user (folder) containt an accent mark and a space.Let say, e.g.
C:\User\José Perengano
, so the problem was in thephp.bat
file (and all the other.bat
files that contain the full path), I just replace the base part with the variable%USERPROFILE%
and the path looks like this"%USERPROFILE%\.config\herd\bin\php83\php.exe" %*
.I tried to solve the problem just scaping the space, but that doesn't work so I choose to use the system variable, and just to be clear, this was a fresh installation, I do not touch anything before.
Steps to reproduce
Create a local user on a Windows Machine, and the user folder should have to contain a space, and an accent mark
Relevant log output
The text was updated successfully, but these errors were encountered: