0

"The directory name is invalid" when i run a c++ file in dev c++, anyone else come across this error please help

6th Mar 2022, 7:17 AM
Vick
Vick - avatar
9 odpowiedzi
+ 2
Have you tried to manually check whether that "C:\ProgramFiles <x86>\Embarcadero\Dev-cpp\" directory existed? cause it seems like the error message was related with non existing directory ...
6th Mar 2022, 7:40 AM
Ipang
+ 1
Can you save a copy of it in SoloLearn and share its link in your post Description? I think it may improve clarity of the problem if the community can review it ... https://www.sololearn.com/post/75089/?ref=app
6th Mar 2022, 7:29 AM
Ipang
+ 1
Did you specify the full path of the file (including the directory name), or just the basename? normally this shouldn't happen if a full path is used. But again,for better view of the problwm, I still prefer if you can share a link to a copy of the code ...
6th Mar 2022, 7:50 AM
Ipang
0
Okay hold up, the error shows up on the compiler
6th Mar 2022, 7:31 AM
Vick
Vick - avatar
0
The directory name is invalid. Could not find c:\ProgramFiles <×86>\Embacadero\Dev-cpp\ console pauser.exe.dat This is the error that shows up on the compiler
6th Mar 2022, 7:34 AM
Vick
Vick - avatar
0
It does exist but that is not the file i want to access, i saved the file in another folder. But it is searching in there i dont understand why
6th Mar 2022, 7:43 AM
Vick
Vick - avatar
0
I cant share it because its on a pc and im using phone
6th Mar 2022, 7:53 AM
Vick
Vick - avatar
0
Maybe later when you're on the PC again ...
6th Mar 2022, 8:11 AM
Ipang
0
Go to save as option and save it as another name it will work
7th Mar 2022, 8:22 AM
Swar2510