hi, I'm trying to create a file via Command Prompt and the program's file creation works grand when it is run from it's directory. However, when running from any directory... using PATH... it prints:
gcc: error: CreateProcess: No such file or directory
The problem, I believe, has to do with it trying to use the PATH to locate cc1.exe. The PATH folder containing cc1.exe is: "C:\Program Files (x86)\mingw-w64\i686-8.1.0-win32-sjlj-rt_v6-rev0\mingw32\libexec\gcc\i686-w64-mingw32\8.1.0"
Now my questions:
1.) Is there a limit on the number of files that windows will search through to find the exe? Some of the PATHS' folders contain many files.
2.) Is that PATH folder correctly set up? There must be something wrong... it's the correct folder... just checked it again. (I learned from windows.com that \\?\ allows a directory path to be longer than 256 characters... and I had "\\?\C:\Program Files (x86)\mingw-w64\i686-8.1.0-win32-sjlj-rt_v6-rev0\mingw32\libexec\gcc\i686-w64-mingw32\8.1.0" but removed the \\?\ just now because that directory path is less than 256 characters.)
edit: Just want you all to know that I have enabled long paths and file names via edits to the registry. It should work.
But, it doesn't; I don't understand why.