Author Topic: [SOLVED] Default project directory  (Read 5290 times)

0 Members and 1 Guest are viewing this topic.

Offline negativ3Topic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: th
[SOLVED] Default project directory
« on: August 20, 2017, 01:08:21 pm »
Hi, Is there any way to set the default project directory?

System preferences contains nothing as far as I can see.

Thanks
« Last Edit: August 21, 2017, 04:22:12 pm by negativ3 »
 

Offline Joel_l

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: us
Re: Default project directory
« Reply #1 on: August 20, 2017, 07:40:34 pm »
The lack of is a big miss for me too. You can save a project to where ever you want, but you will always have to navigate to it. For some reason Altium seems to think C:\users\documents\Public\Altium\projects is the right place. I have searched the registry to see if I could find an entry to change as well as grepped through all the config files. I have not been able to find where this is set. One thing that might work is to link this to where you really want it.
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2299
  • Country: gb
Re: Default project directory
« Reply #2 on: August 21, 2017, 07:39:56 am »
Just add a shortcut in the default directory, then its just one extra double click to get wherever.
 
The following users thanked this post: negativ3

Offline negativ3Topic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: th
Re: Default project directory
« Reply #3 on: August 21, 2017, 04:19:31 pm »
Just add a shortcut in the default directory, then its just one extra double click to get wherever.

This is a great workaround. Thanks voltsandjolts again!
 

Offline jmarkwolf

  • Regular Contributor
  • *
  • Posts: 115
Re: Default project directory
« Reply #4 on: August 22, 2017, 06:00:52 pm »
Just add a shortcut in the default directory, then its just one extra double click to get wherever.

Add a shortcut where? The desktop?
 

Offline Joel_l

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: us
Re: [SOLVED] Default project directory
« Reply #5 on: August 22, 2017, 11:56:54 pm »
In circuit studios default directory. So make a shortcut for your working directory and place it in C:\users\public\documents\altium\projects. that way when you go to open a project or start a new project, you click on the link to get to where you want. Not as good as being able to set you default working directory, but as mentioned, it's only one double click.

I do think there is a way to link that directory to where you want to be so it's all transparent.
 

Offline Joel_l

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: us
Re: [SOLVED] Default project directory
« Reply #6 on: August 23, 2017, 12:55:36 am »
I played with links using mklink vs a shortcut and here is what I found,

If I make a shortcut and place it in the default directory, it works ok for opening an existing project. If I create a new project without navigating to your desired directory, it will ignore the shortcut in the default path and create a new projects directory there and place your new project in it.

If I make a link using mklink, it works as expected. The path will still show the default C:\...... path but the new project will land in the directory you set up.

To prepare, if there are any projects in the default project directory, move them to where you want them. once that's done delete C:\users\public\documents\altium\projects, leave the altium directory.

from an admin command prompt,

mklink /D "C:\users\public\documents\altium\projects" "your\projects\directory"

I used "D:\circuitstudio\projects" on my system for example.

note the quotes and the slash type on the /D

mklink will respond with symbolic link created for { path data } if successful.

I think this works a little better than a shortcut.

« Last Edit: August 23, 2017, 12:58:12 am by Joel_l »
 
The following users thanked this post: negativ3, arteitle, mars01

Online ahbushnell

  • Frequent Contributor
  • **
  • Posts: 739
  • Country: us
Re: [SOLVED] Default project directory
« Reply #7 on: August 23, 2017, 01:19:34 pm »
That was interesting.  I had not heard of mklink.  Cool
Andy
 

Offline negativ3Topic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: th
Re: [SOLVED] Default project directory
« Reply #8 on: August 25, 2017, 02:37:07 am »
I played with links using mklink vs a shortcut and here is what I found,

If I make a shortcut and place it in the default directory, it works ok for opening an existing project. If I create a new project without navigating to your desired directory, it will ignore the shortcut in the default path and create a new projects directory there and place your new project in it.

If I make a link using mklink, it works as expected. The path will still show the default C:\...... path but the new project will land in the directory you set up.

To prepare, if there are any projects in the default project directory, move them to where you want them. once that's done delete C:\users\public\documents\altium\projects, leave the altium directory.

from an admin command prompt,

mklink /D "C:\users\public\documents\altium\projects" "your\projects\directory"

I used "D:\circuitstudio\projects" on my system for example.

note the quotes and the slash type on the /D

mklink will respond with symbolic link created for { path data } if successful.

I think this works a little better than a shortcut.

Now that is excellent and works great. Thanks.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf