User forums > Help
C::B 16.01 pjt-file: backslashes are changed to slashes when adding new files
(1/1)
wookiesoldier:
Hi,
I'm using Code::Blocks 16.01 on a Windows 7 32bit machine.
I loaded an C::B Project created with r6853. The file paths in the pjt-file contain backslashes, i.e. ..\..\..\test.cpp
If I'm adding new files recursively now (via right click -> "Add files recursively...") to the project, the backslashes in all (!) file paths change into slashes, i.e. ../../../test.cpp
This behavior is inconveniert when I compare an old pjt-file and a recent pjt-file to look for changes being made. Because of the backslahes being transformed into slahes, it's difficult to see the actual changes.
How can I change this behavior to ensure that Code::Blocks uses backslahes in the file paths again?
Regards
oBFusCATed:
--- Quote from: wookiesoldier on November 09, 2016, 06:23:56 am ---How can I change this behavior to ensure that Code::Blocks uses backslahes in the file paths again?
--- End quote ---
The only way is to change the code of C::B.
This change is intentional and it is made to make sharing project between OSes easier.
wookiesoldier:
OK, thank you for the feedback.
Navigation
[0] Message Index
Go to full version