Unable to edit the vertical bar and sub bar

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Andre Linoge
Junior Member
Junior Member
Posts: 83
Joined: 2004-03-14, 22:22 UTC

Unable to edit the vertical bar and sub bar

Post by *Andre Linoge »

Good morning

I am experiencing several little problem with TC, for instance, i like to edit the vertical bar, when adding a program to it, i get the "write protection error", the same error i get when adding programs to the subbar.
When i move or copy a file from an USB stick to the HD, i get the "file protection error" this must be done as Administrator.

I use TC on Windows 10 (64bit)
Can someone,please explain to me how to overcome this problem??

TIA
Andre Linoge

Appollogise for my previous post, forgot to fill in the subject title.
User avatar
Stefan2
Power Member
Power Member
Posts: 4158
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Unable to edit the vertical bar and sub bar

Post by *Stefan2 »

Hi Andre, please see menu Help > About-TC > Ini-files:----

Probably your INIs are located in a write protected folder?


 
Andre Linoge
Junior Member
Junior Member
Posts: 83
Joined: 2004-03-14, 22:22 UTC

Re: Unable to edit the vertical bar and sub bar

Post by *Andre Linoge »

Both ini files are located in the TC folder, and the TC folder in not write protected.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6490
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Unable to edit the vertical bar and sub bar

Post by *Horst.Epp »

Andre Linoge wrote: 2018-11-27, 11:43 UTC Both ini files are located in the TC folder, and the TC folder in not write protected.
In your first post you said
"When i move or copy a file from an USB stick to the HD, i get the "file protection error" this must be done as Administrator"
So I guess you have some strange security settings in your file system
or you are trying to copy files to Program files or other protected dirs.
Whats the full path of you TC installation ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Andre Linoge
Junior Member
Junior Member
Posts: 83
Joined: 2004-03-14, 22:22 UTC

Re: Unable to edit the vertical bar and sub bar

Post by *Andre Linoge »

I have TC installed in:
c:\Program Files\Software\Total Commander\
also i have a directory program Files (86)

Could it be possible that i should have installed TC in the directory program Files (86)

"So I guess you have some strange security settings in your file system"
This is a possibility also, had some problems with passwords.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6490
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Unable to edit the vertical bar and sub bar

Post by *Horst.Epp »

Andre Linoge wrote: 2018-11-27, 12:01 UTC I have TC installed in:
c:\Program Files\Software\Total Commander\
also i have a directory program Files (86)

Could it be possible that i should have installed TC in the directory program Files (86)

"So I guess you have some strange security settings in your file system"
This is a possibility also, had some problems with passwords.
Anything under Program files is by default only writeable with admin (enhanced) rights.
So in this case you have to set the ACLs of TC home dir for your account.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
HerbieH
Member
Member
Posts: 145
Joined: 2003-02-11, 10:04 UTC

Re: Unable to edit the vertical bar and sub bar

Post by *HerbieH »

Hello Andre.

For many years I have had my Total Commander in a folder called c:\tc

My Total Commander Desktop shortcut says:
Target: c:\tc\TOTALCMD64.exe /i=c:\tc\wincmd.ini /f=c:\tc\Wcx_ftp.ini

That gives me alt least two major advantages:

1) All files are accessible, not being in a Windows protected folder.

2) Portability.
You can copy the whole tc folder to a usb drive like D:\ and then make a batch file or shortcut that says:
d:\tc\TOTALCMD64.exe /i=d:\tc\wincmd.ini /f=d:\tc\Wcx_ftp.ini

OBS: Make sure all the external programs, you use from TC is located in subfolders under your tc folder.
Also remember, that all buttons and other path'es in Total Commader says %COMMANDER_PATH%\ in stead of c:\tc\ or d:\tc\ :)

PS: There are 'smart' ways to make shorcuts / batch files, that automatically finds the drive-letter for your USB drive with the tc folder. :D
HerbieH*
-Keep on makin' music!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6490
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Unable to edit the vertical bar and sub bar

Post by *Horst.Epp »

HerbieH wrote: 2018-11-27, 16:17 UTC My Total Commander Desktop shortcut says:
Target: c:\tc\TOTALCMD64.exe /i=c:\tc\wincmd.ini /f=c:\tc\Wcx_ftp.ini
...
Add the line
UseIniInProgramDir=7
in the [Configuration] section of your wincmd.ini
and you don't need any special options to start TC with the ini files in its program dir.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
HerbieH
Member
Member
Posts: 145
Joined: 2003-02-11, 10:04 UTC

Re: Unable to edit the vertical bar and sub bar

Post by *HerbieH »

To Horst.Epp

Thank you for reminding me of the 'UseIniInProgramDir' setting. Must have forgotten about that at some point.
I guess, that this line will always be read by TC if there is a wincmd,ini og totalcmd.ini file present in the root of the TC program dir.

BUT will it override a registry entry like:

Code: Select all

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
"InstallDir"="C:\\totalcommander"
"FtpIniName"="C:\\totalcommander\\inifiles\\wcx_ftp.ini"
"IniFileName"="C:\\totalcommander\\inifiles\\Totalcmd.ini"
?

EDIT:
Sorry! :oops: Overlooked, that UseIniInProgramDir=7 is the sum of 1,2 and 4=Override registry settings (but not command line parameters)
HerbieH*
-Keep on makin' music!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Unable to edit the vertical bar and sub bar

Post by *ghisler(Author) »

You can either copy the bar files elsewhere and then use these for the bars, or change their permissions with Alt+Enter to give everyone write rights.
Author of Total Commander
https://www.ghisler.com
Andre Linoge
Junior Member
Junior Member
Posts: 83
Joined: 2004-03-14, 22:22 UTC

Re: Unable to edit the vertical bar and sub bar

Post by *Andre Linoge »

Thank you,
Had to figure out Alt+Enter first, but it works fine.

Regards
Andre Linoge
Post Reply