[req] desktop dir variable in tabdir in wincmd.ini
Posted: 2008-05-22, 09:27 UTC
hi,
i'm asking myself, if it is simple to implement and would be considered as useful from you all.
i use tc on a portable harddrive on several computers.
i often use save tabs on both sides to file (and resp. load tabs...).
i save the files "always" to the desktop or to the C:\temp dir.
therefore, i have stored TabDir=%TEMP% or TabDir=%$DESKTOP% in wincmd.ini
which opens the correct dir for saving.
if tc has saved the tab-file, it changes the TabDir= from i.e. TabDir=%TEMP% to TabDir=D:\temp or TabDir=%$DESKTOP% to TabDir=c:\dokumente und einstellungen\usernameXYZ\desktop (or some other username)
which is a little bit anoying for me, because if i use tc on another computer, the path saved in TabDir= now doesnt point to the "correct" dir anymore.
so i have to correct the path by hand, which is not much stress, but can be a hassle and a waste of time anyway. tc then stores the new path again, which will not the "correct" path on the next computer on the next save. and so on.
now, my which/idea is this:
a)
if tc recognize, if the path it will save, is a path which is stored in a variable used by tc itself, it will replace the path automaticly with the corresponding variable,
or
b)
the user can "fixate" his place to save anyhow.
example to a)
if tc recognizes that the saved path is C:\temp, which is (assumed by me) the same as %TEMP%, then it uses %TEMP% to store the path in TabDir=.
if tc recognizes that the saved path is C:\dokumente und einstellungen\foousername\desktop, which is the same as $%desktop%, then it uses $%desktop% to store the path in TabDir=.
and so on :-)
must be not so hard to implement, i think.
what do you think?
cheers
i'm asking myself, if it is simple to implement and would be considered as useful from you all.
i use tc on a portable harddrive on several computers.
i often use save tabs on both sides to file (and resp. load tabs...).
i save the files "always" to the desktop or to the C:\temp dir.
therefore, i have stored TabDir=%TEMP% or TabDir=%$DESKTOP% in wincmd.ini
which opens the correct dir for saving.
if tc has saved the tab-file, it changes the TabDir= from i.e. TabDir=%TEMP% to TabDir=D:\temp or TabDir=%$DESKTOP% to TabDir=c:\dokumente und einstellungen\usernameXYZ\desktop (or some other username)
which is a little bit anoying for me, because if i use tc on another computer, the path saved in TabDir= now doesnt point to the "correct" dir anymore.
so i have to correct the path by hand, which is not much stress, but can be a hassle and a waste of time anyway. tc then stores the new path again, which will not the "correct" path on the next computer on the next save. and so on.
now, my which/idea is this:
a)
if tc recognize, if the path it will save, is a path which is stored in a variable used by tc itself, it will replace the path automaticly with the corresponding variable,
or
b)
the user can "fixate" his place to save anyhow.
example to a)
if tc recognizes that the saved path is C:\temp, which is (assumed by me) the same as %TEMP%, then it uses %TEMP% to store the path in TabDir=.
if tc recognizes that the saved path is C:\dokumente und einstellungen\foousername\desktop, which is the same as $%desktop%, then it uses $%desktop% to store the path in TabDir=.
and so on :-)
must be not so hard to implement, i think.
what do you think?
cheers