photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: stefanjan2 on December 15, 2022, 06:21:00 PM

Title: Renamer move to the the current drive
Post by: stefanjan2 on December 15, 2022, 06:21:00 PM
On my desktop computer current files are stored on a subdirectory of my E: drive. On my laptop they are stored on my D:

I'm wondering whether it is possible to change the below so that it calculates the current drive and substitutes the correct drive

E:\Current Photos\{File.DateTime|format:YYYY}\{File.DateTime|format:YYYY-MM-DD} ¦
Title: Re: Renamer move to the the current drive
Post by: Mario on December 15, 2022, 06:32:55 PM
Make the variable machine-dependent (using {Application.ComputerName}) and substitute E: with D: accordingly using an is: ?

{Application.ComputerName|is:FOO,D,E}

This gives you D on computer FOO else E =>

{Application.ComputerName|is:FOO,D,E}:\Current Photos\{File.DateTime|format:YYYY}\{File.DateTime|format:YYYY-MM-DD} ¦
Title: Re: Renamer move to the the current drive
Post by: stefanjan2 on December 16, 2022, 06:45:37 PM
Thanks Mario, that worked brilliantly. Once again the level of support to your users is amazing!
Title: Re: Renamer move to the the current drive
Post by: Mario on December 16, 2022, 06:59:06 PM
IMatch variables are very powerful and make many things possible. That's why I invented them ;)


QuoteOnce again the level of support to your users is amazing!
Thanks. As a small payback, please spread the word about IMatch.
Let others know that it exists and that it works well. For example in your photography board posts, Facebook, Instagram etc.
Title: Re: Renamer move to the the current drive
Post by: stefanjan2 on December 16, 2022, 07:23:47 PM
Mario, yes I'll try to mention when appropriate.

Title: Re: Renamer move to the the current drive
Post by: Mario on December 16, 2022, 07:47:28 PM
Quote from: stefanjan2 on December 16, 2022, 07:23:47 PMMario, yes I'll try to mention when appropriate.
Great.
Consider my 150$ annual marketing budget vs. Adobe's 150,000,000$ annual marketing budget ;D