Button Bar Relative Paths?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Kejatz
Junior Member
Junior Member
Posts: 6
Joined: 2014-04-28, 11:11 UTC

Button Bar Relative Paths?

Post by *Kejatz »

Hi all,

I'm using portable version of TC on my external drive. Is there a way to specify link on the button bar with relative path? For example, how can I rewrite this to be relative to my external drive root: D:\Stuff\Documents\Notes.txt

Thank you!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Open cmd.exe from TC and execute set c command, you'll see a lot of TC-defined COMMANDER_* variables that may be used for portability needs.
E.g. COMMANDER_DRIVE contains a letter for TC drive. So, your path will look like %COMMANDER_DRIVE%\Stuff\Documents\Notes.txt.
Kejatz
Junior Member
Junior Member
Posts: 6
Joined: 2014-04-28, 11:11 UTC

Post by *Kejatz »

Thank you! I'll give it a try and get back to you how it went.
Kejatz
Junior Member
Junior Member
Posts: 6
Joined: 2014-04-28, 11:11 UTC

Post by *Kejatz »

Exactly what I needed, thank you!
Post Reply