Multi Commander > Support and Feedback

Copying a template folder with shortcuts

(1/3) > >>

Nolly:
I have a project template folder with subfolders, template files and shortcuts (pointing to different paths in the template folder)

Every time I start a new project I copy the template folder to a new path and rename it to the new project name. Problem is, as you sure can imagine, that all the shortcuts in the new project folder points back to the template folder.

- Does Multi Commander have a feature to solve this issue?

AlanJB:
I don't imagine any File Commander on the planet could cope with that scenario!

As a programmer of very long standing, I understand the need for templates, but can I ask why the shortcuts?  Which application uses these templates - or the shortcuts?  How many are we talking about?

I'm guessing there may a better way to accomplish what you need here.  You could, for example, copy the folder/file structure and then use VBScript or Powershell or a free tool like XXMLink to create all your shortcuts in the new structure.

Nolly:

--- Quote ---I don't imagine any File Commander on the planet could cope with that scenario!

--- End quote ---
- Ok, thats a pity. I have seen that MC has a lot of options when copying files so I had hoped that one of them would work for my scenario.


--- Quote --- (...), but can I ask why the shortcuts?  Which application uses these templates - or the shortcuts?  How many are we talking about?
--- End quote ---
- I work in a small team where we have to organize the "file flow" so all co-workers know where to find everything. Shortcuts make this a lot easier for everyone. Some of them, myself included, use CAD-application for the projects. Everyone has its own work-folder, but some of the files do we have to share.  The CAD-application allways start in the work-folder when we are opening/saving a new file. So having a shortcut in each work-folder pointing to all the different "shared" folders (10+ different folders, on different locations in the project folder) is a real time-saver.

(Small) Example:

--- Code: ---D:\Projectnr_12345\CAD-drawings\Workfolder - Bob
D:\Projectnr_12345\CAD-drawings\Workfolder - Bob\Exref-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Bob\recources-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Bob\templates-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Bob\Old versions-shortcut.lnk
 <all shortcuts with same name pionts to same path>
D:\Projectnr_12345\CAD-drawings\Workfolder - Ed
D:\Projectnr_12345\CAD-drawings\Workfolder - Ed\Exref-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Ed\recources-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Ed\templates-shortcut.lnk
D:\Projectnr_12345\CAD-drawings\Workfolder - Ed\Old versions-shortcut.lnk
 
--- End code ---
This is not a huge issue, but it's really time-consuming to re-make these shortcuts manually for every new project.


--- Quote ---You could, for example, copy the folder/file structure and then use VBScript or Powershell or a free tool like XXMLink to create all your shortcuts in the new structure.
--- End quote ---
- That could work, but I have no knowledge of how I should set up a script to make this.

Mathias (Author):
Yes AlanJB is right.  it is a very special case. and there is not any support for automatically modifying shortcuts.

However MC can create shortcut, and it can be done from script, It might be possible to create a script that do it
http://multicommander.com/docs/customcommands_list#mc.utils.createlink

But it depends on what option in the shortcut you change..




Nolly:
Thank you for the reply.

The only thing in the shortcut that needs to change is two path-names.

D:\Template_Folder\CAD-drawings\Workfolder - Bob\templates-shortcut.lnk
Should change to
D:\Projectnr_12345\CAD-drawings\Workfolder - Bob\templates-shortcut.lnk

And the folder "Projectnr_12345" is the only name that changes in all the different shortcuts for every new project

I have no knowledge in making scripts, so I need help in making one if that would be a solution for my case  ;D

Navigation

[0] Message Index

[#] Next page

Go to full version