Renamer move to the the current drive

Started by stefanjan2, December 15, 2022, 06:21:00 PM

Previous topic - Next topic

stefanjan2

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} ¦

Mario

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} ¦
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

stefanjan2

Thanks Mario, that worked brilliantly. Once again the level of support to your users is amazing!

Mario

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.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

stefanjan2

Mario, yes I'll try to mention when appropriate.


Mario

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
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook