How to disable files in "%AppData%\GHISLER\redirect"?
Moderators: Hacker, petermad, Stefan2, white
How to disable files in "%AppData%\GHISLER\redirect"?
I have per-user configured Imagine (wlx) in
C:\Users\User\AppData\Roaming\Imagine\Imagine.ini
with readonly attr.
How can I avoid it's copy in
C:\Users\User\AppData\Roaming\GHISLER\redirect\C_\Users\User\AppData\Roaming\Imagine\Imagine.ini
path?
C:\Users\User\AppData\Roaming\Imagine\Imagine.ini
with readonly attr.
How can I avoid it's copy in
C:\Users\User\AppData\Roaming\GHISLER\redirect\C_\Users\User\AppData\Roaming\Imagine\Imagine.ini
path?
Ukrainian Total Commander Translator. Feedback and discuss.
Re: How to disable files in "%AppData%\GHISLER\redirect"?
Set (or add 8192 to its value if already present).
Code: Select all
[Configuration]
RestrictInterface=8192
TC help, section 4.b), part 2 wrote:RestrictInterface=
Disable parts of the user interface. Just build the sum of the following options:
[...]
8192: Do not redirect plugin ini files to user profile
#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: How to disable files in "%AppData%\GHISLER\redirect"?
Does it have any GUI dialogs or cm_*** lines to change on the go?
Ukrainian Total Commander Translator. Feedback and discuss.
Re: How to disable files in "%AppData%\GHISLER\redirect"?
I don't know, but I doubt. A plugin will probably need to be unloaded to change the settings file location, so changing it while TC is running is not so easy. Apart from that I don't see the point in changing something like this on-the-fly. What would be the benefit?
#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: How to disable files in "%AppData%\GHISLER\redirect"?
1. Why not try TC's plugins' ini relocation function?
wincmd.ini:
2.
Otherwise, you could automate it via a corresponding custom user em_* command.
3.
In this use case, it is also supposed that you have the non-zero IndividualOptionPerUser parameter in
Imagine\Imagine.ini, e.g.
At first, Imagine tries if its ini is in the AppData.
If the AppData\Imagine\Imagine.ini is there, Imagine tries to read the IndividualOptionPerUser option.
And if the IndividualOptionPerUser option is there and is non-zero, then Imagine would use its ini from the AppData.
Also, I'm curious whether the TC moves Imagine.ini from theAppData\Imagine\Imagine.ini location to the AppData\GHISLER\redirect\... one, or it creates Imagine.ini in the latter location when it didn't exist in the former one?
wincmd.ini:
Code: Select all
[ReplaceIniLocation]
Imagine.wcx=%AppData%\Imagine\Imagine.ini
Imagine.wdx=%AppData%\Imagine\Imagine.ini
Imagine.wlx=%AppData%\Imagine\Imagine.ini
Dalai wrote: 2025-05-20, 12:08 UTC Set(or add 8192 to its value if already present).Code: Select all
[Configuration] RestrictInterface=8192
I suppose UltraTC\ConfigurationEditor could provide a GUI for that.
Otherwise, you could automate it via a corresponding custom user em_* command.
3.
2MaxXI have per-user configured Imagine (wlx) in
In this use case, it is also supposed that you have the non-zero IndividualOptionPerUser parameter in
Imagine\Imagine.ini, e.g.
Code: Select all
[Option]
IndividualOptionPerUser=1
If the AppData\Imagine\Imagine.ini is there, Imagine tries to read the IndividualOptionPerUser option.
And if the IndividualOptionPerUser option is there and is non-zero, then Imagine would use its ini from the AppData.
Also, I'm curious whether the TC moves Imagine.ini from theAppData\Imagine\Imagine.ini location to the AppData\GHISLER\redirect\... one, or it creates Imagine.ini in the latter location when it didn't exist in the former one?
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Re: How to disable files in "%AppData%\GHISLER\redirect"?
2beb
1. I also get duplicates of them
C:\Users\User\AppData\Roaming\GHISLER\redirect\C_\Totalcmd\Plugins\wlx\Imagine\Imagine.ini
with readonly attr.
3. Also have "IndividualOptionPerUser=0" on another PC. No difference.
1. I also get duplicates of them
C:\Users\User\AppData\Roaming\GHISLER\redirect\C_\Totalcmd\Plugins\wlx\Imagine\Imagine.ini
with readonly attr.
3. Also have "IndividualOptionPerUser=0" on another PC. No difference.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: How to disable files in "%AppData%\GHISLER\redirect"?
2MaxX
I have made a script that (as a standalone, or wrapped into a user em command) automates the RestrictInterface=8192|RestrictInterface=x+8192 parameter setup on the go.
However, I cannot be sure if it is worth publishing until the RestrictInterface value collisions issue gets clarified.
See: viewtopic.php?t=85872
I have made a script that (as a standalone, or wrapped into a user em command) automates the RestrictInterface=8192|RestrictInterface=x+8192 parameter setup on the go.
However, I cannot be sure if it is worth publishing until the RestrictInterface value collisions issue gets clarified.
See: viewtopic.php?t=85872
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15