Low Cost PCB's Low Cost Components

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

0 Members and 1 Guest are viewing this topic.

Offline negativ3

  • Regular Contributor
  • *
  • Posts: 81
  • Country: th
[SOLVED] Default project directory
« on: August 20, 2017, 11: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 22, 2017, 02:22:12 AM by negativ3 »
 

Offline Joel_l

  • Regular Contributor
  • *
  • Posts: 145
  • Country: us
Re: Default project directory
« Reply #1 on: August 21, 2017, 05:40:34 AM »
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: 362
  • Country: gb
Re: Default project directory
« Reply #2 on: August 21, 2017, 05:39:56 PM »
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 negativ3

  • Regular Contributor
  • *
  • Posts: 81
  • Country: th
Re: Default project directory
« Reply #3 on: August 22, 2017, 02:19:31 AM »
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: 70
Re: Default project directory
« Reply #4 on: August 23, 2017, 04:00:52 AM »
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

  • Regular Contributor
  • *
  • Posts: 145
  • Country: us
Re: [SOLVED] Default project directory
« Reply #5 on: August 23, 2017, 09:56:54 AM »
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

  • Regular Contributor
  • *
  • Posts: 145
  • Country: us
Re: [SOLVED] Default project directory
« Reply #6 on: August 23, 2017, 10: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, 10:58:12 AM by Joel_l »
 
The following users thanked this post: negativ3, arteitle

Online ahbushnell

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

Offline negativ3

  • Regular Contributor
  • *
  • Posts: 81
  • Country: th
Re: [SOLVED] Default project directory
« Reply #8 on: August 25, 2017, 12:37:07 PM »
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