Question environment variable [path] %HOMEPATH%

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Question environment variable [path] %HOMEPATH%

Post by *sidefx88 »

Is there an alternative to %HOMEPATH% environment variable?

I'm asking this because TC 8.01 and TC 8.50 beta 1 are not responding well to this environment variable, maybe it is a bug:

I set a lot of key shorcuts to go to my frecuently used folders, some are on drive C: and some on E:. If I'm on C: (in one of the panels, or in a tab) and I press a key shorcut pointing to %HOMEPATH% (which in this case is "C:\Users\John") it works, but if I'm on any folder on drive E: and press the same shortcut (which points to %HOMEPATH% folder, it sends me to E:\ (the root folder on the same drive).

It is a TC bug? Is there an alternative?

Thanks!
I Love Total Commander!
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Try

Code: Select all

cd %HOMEDRIVE%\%HOMEPATH%
Single user license #329241
PowerPro scripts for Total Commander
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

It works perfect!

Thanks
I Love Total Commander!
Post Reply