
Hidden folder AppData is still visible in TC
Moderators: Hacker, petermad, Stefan2, white
Re: Hidden folder AppData is still visible in TC
BTW we already have the cm_ConfigChangeIniFiles command and even the standard main menu item for it. 

Re: Hidden folder AppData is still visible in TC
Here are a few Copy&Paste code for to creating buttons on TCs button bar for to help users to access there TC data:
Exchangeable Button-Code:
How to use: mark one code, copy to clipboard, next right click on TCs Button bar and choose 'Paste'.
In Line 2 is the command to execute, in Line 5 is the description.
I launch here Notepad2 from Florian Balmer, a portable tool I have in my own sub folder TOOLs, you may have to change that for you.
The most simple way would be to use build-in Notepad: Notepad.exe %Commander_Ini%
Or maybe: "%Commander_Path%\TOOLs\NotePad2\notepad2.exe" "%Commander_Path%\usercmd.ini"
Note: %Commander_Path% points to TCs ProgramFolder, if that is stored in C:\ProgramFiles you may have no write access to.
Instead of ""%Commander_Path%\_MyNotes.TXT" use "%AppData%\GHISLER\_MyNotes.TXT"
- - -
From post below by petermad
this button should always take you to the correct folder for TC's configuration files, no matter where they are located:
HTH?
Exchangeable Button-Code:
How to use: mark one code, copy to clipboard, next right click on TCs Button bar and choose 'Paste'.
In Line 2 is the command to execute, in Line 5 is the description.
Code: Select all
TOTALCMD#BAR#DATA
CD "%Commander_Path%"
%Commander_Path%\WCMICONS.DLL,2
CD %Commander_Path% - Switch to TC-ProgramFolder with current running TC.exe
0
-1
Code: Select all
TOTALCMD#BAR#DATA
CD "%AppData%\GHISLER\"
%COMMANDER_PATH%\TCMADMIN.EXE
CD to AppData GHISLER - Switch to Users settings-Folder (if not relocated to TCs ProgramFolder by INI switch)
0
-1
Code: Select all
TOTALCMD#BAR#DATA
"%Commander_Path%\TOOLs\NotePad2\notepad2.exe" "%Commander_Ini%"
%Commander_Path%\WCMICONS.DLL,28
EDIT %Commander_INI% - Open TC current used configuration file "wincmd.ini"
0
-1
The most simple way would be to use build-in Notepad: Notepad.exe %Commander_Ini%
Code: Select all
TOTALCMD#BAR#DATA
"%Commander_Path%\TOOLs\NotePad2\notepad2.exe" "%Commander_Ini%\..\usercmd.ini"
%Commander_Path%\WCMICONS.DLL,28
EDIT Usercmd.ini (if there, else create new) - Open file with Users own defined commands
0
-1
Code: Select all
TOTALCMD#BAR#DATA
"%Commander_Path%\TOOLs\NotePad2\notepad2.exe" "%Commander_Path%\TOTALCMD.INC"
%Commander_Path%\WCMICONS.DLL,28
SHOW TOTALCMD.INC - Open file with list of TCs internal commands
0
-1
Code: Select all
TOTALCMD#BAR#DATA
"%Commander_path%\TOOLs\NotePad2\notepad2.exe" "%Commander_Path%\_MyNotes.TXT"
%Commander_Path%\WCMICONS.DLL,34
EDIT "%Commander_Path%\_MyNotes.TXT" - Open text file for to store tips&tricks found on the forum or often used RegEx patterns
-1
Instead of ""%Commander_Path%\_MyNotes.TXT" use "%AppData%\GHISLER\_MyNotes.TXT"
- - -
From post below by petermad
this button should always take you to the correct folder for TC's configuration files, no matter where they are located:
Code: Select all
TOTALCMD#BAR#DATA
cd %COMMANDER_INI%\..
%COMMANDER_EXE%,25
Open Folder Containing Total Commanders Configuration Files (by petermad)
-1
HTH?

Re: Hidden folder AppData is still visible in TC
2Stefan2
TC's INI files are usually located in %AppData%, which is the same as %UserProfile%\AppData\Roaming, not %UserProfile%\AppData\Local.
I still think the best would be another button on the default button bar that changes directory to the %AppData% (or %AppData%\Ghisler) dir, as I already suggested a couple of months ago: viewtopic.php?p=403763#p403763
Regards
Dalai
TC's INI files are usually located in %AppData%, which is the same as %UserProfile%\AppData\Roaming, not %UserProfile%\AppData\Local.
I still think the best would be another button on the default button bar that changes directory to the %AppData% (or %AppData%\Ghisler) dir, as I already suggested a couple of months ago: viewtopic.php?p=403763#p403763
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Hidden folder AppData is still visible in TC
You are right, using %AppData%-only is more simple and thanks for pointing out the correct folder.
Re: Hidden folder AppData is still visible in TC
Well, as stated before - this button should always take you to the correct folder for TC's configuration files, no matter where they are located:
Code: Select all
TOTALCMD#BAR#DATA
cd %COMMANDER_INI%\..
%COMMANDER_EXE%,25
Open Folder Containing Total Commanders Configuration Files
0
-1
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: Hidden folder AppData is still visible in TC
True. However, a button which changes directory to %AppData% could be useful in other cases since TC isn't the only application to save files there. Depends on what people complained about before AppData was shown permanently.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror