is there a command line that points to the interal folder/path of tc portable mode?
Moderators: Hacker, petermad, Stefan2, white
is there a command line that points to the interal folder/path of tc portable mode?
hi
is there a commad line that point to the internal folder for tc portable version ?
i would like to add fastcopy portable (seeing has a estimate destination free space) and run on an usb stick or a winpe 64/32bit
the point is that I have created a custom button , and i have added the commader the folder of the fastcopy
x:\totalcommander\fastcopy.exe
for example a custom button with a internal path -> tcpath\fastcopy.exe
because the x: could change pluging an usb stick with tc 64 and 32bit portable on another comptuer and could not find fastcopy.exe
in short an internal path , to fix it and use fastcopy as copier
thanks
is there a commad line that point to the internal folder for tc portable version ?
i would like to add fastcopy portable (seeing has a estimate destination free space) and run on an usb stick or a winpe 64/32bit
the point is that I have created a custom button , and i have added the commader the folder of the fastcopy
x:\totalcommander\fastcopy.exe
for example a custom button with a internal path -> tcpath\fastcopy.exe
because the x: could change pluging an usb stick with tc 64 and 32bit portable on another comptuer and could not find fastcopy.exe
in short an internal path , to fix it and use fastcopy as copier
thanks
love Total Commander , best file manager ever made
Re: is there a command line that points to the interal folder/path of tc portable mode?
Benutze die Envronment Variable COMMANDER_DRIVE
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: is there a command line that points to the interal folder/path of tc portable mode?
Last edited by giulia on 2021-01-17, 17:52 UTC, edited 1 time in total.
love Total Commander , best file manager ever made
Re: is there a command line that points to the interal folder/path of tc portable mode?
Total Commander provides the following environmental variables (real paths will depend on where the TC is running):
So, you can replace with
Or some other combination, if that is more useful.
Code: Select all
COMMANDER_DRIVE C:
COMMANDER_EXE C:\Program Files (x86)\Total Commander\TOTALCMD.EXE
COMMANDER_INI C:\Users\<userName>\AppData\Roaming\GHISLER\wincmd.ini
COMMANDER_PATH C:\Program Files (x86)\Total Commander
Code: Select all
x:\totalcommander\fastcopy.exe
Code: Select all
%COMMANDER_PATH%\fastcopy.exe
Windows 10 Pro x64, Windows 11 Pro x64
Re: is there a command line that points to the interal folder/path of tc portable mode?
hiumbra wrote: 2021-01-17, 17:36 UTC Total Commander provides the following environmental variables (real paths will depend on where the TC is running):So, you can replaceCode: Select all
COMMANDER_DRIVE C: COMMANDER_EXE C:\Program Files (x86)\Total Commander\TOTALCMD.EXE COMMANDER_INI C:\Users\<userName>\AppData\Roaming\GHISLER\wincmd.ini COMMANDER_PATH C:\Program Files (x86)\Total Commander
withCode: Select all
x:\totalcommander\fastcopy.exe
Or some other combination, if that is more useful.Code: Select all
%COMMANDER_PATH%\fastcopy.exe
perfect!
%COMMANDER_PATH% works great!
love Total Commander , best file manager ever made
Re: is there a command line that points to the interal folder/path of tc portable mode?
And if you need to access other files in the directory ot the wincmd.ini file you can use:COMMANDER_INI C:\Users\<userName>\AppData\Roaming\GHISLER\wincmd.ini
Code: Select all
%COMMANDER_INI%\..
Code: Select all
%COMMANDER_INI%\..\usercmd.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: is there a command line that points to the interal folder/path of tc portable mode?
Using %COMMANDER_DRIVE% allows to make tool trees which are not inside of TC dir but on its drive.
Thats what all portable launchers provide and makes much more sense than strange relative pathnames
based on other TC variables.
Thats what all portable launchers provide and makes much more sense than strange relative pathnames
based on other TC variables.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64