News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Default Project Location

Started by huycan, May 23, 2020, 08:47:19 PM

Previous topic - Next topic

huycan

Windows. I create a shortcut to the CB execution file and change its startup directory: so every time, I choose File/Open... CB open-dialog points to the desired location. But if I click on the Open Existing Project link on the startup page... it always points to the Document location... Is there anyway to change that? Or it is hard-coding into the start page?

BlueHazzard

I think this is some windows default behavior?

huycan

Yes... that is the Windows default behavior... The question is there anyway to change it?

stahta01

To find out how to change Windows default behavior ask on an Windows support website.

To fix your problem:
  From Windows Explorer
  Cut the folder holding the CB Project and its files and
  Paste into the location you want it to be.

Then, open CB and open the project from the new location.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

huycan

#4
You did not read my question. I know how to do that (create a shortcut). I did that. And it work!!! My question is this: on the Start Page, there is a open existing project link, (no matter what you do), it always open to the Documents directory... Can we change that behavior?

Edit: Now, all of a sudden, that link no longer points to the Documents directory but points to one of my current project... ??? *baffling*

stahta01

CB automatically removes links to projects that no longer exists.

I dislike this feature.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]