Change settings files directly

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Change settings files directly

Post by *J.A. Gruys »

WindowsXP SP1. TCMD7pb2. When I click Options > Change settings files directly, nothing happens.

?????
J.A.G.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Reach them---

Post by *Clo »

2J.A. Gruys

:) Hello !

• Please, verify where your INI files are located from the Help Menu >> About…
- Whether they are @ another location than the one stated in the Registry, this could cause that they are not found.
- However, I wonder that you don't get any error message … ?

:mrgreen:  Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

Thank you for your reply.

My wincmd.ini is located where it should according to help > about. Moreover, when I change a setting there by hand, the result shows after closing and reopening TCMD. So the file's location is OK.

There is no error message. Nothing at all happens
J.A.G.
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

Addition to my previous message:

In the Registry I cannot find any reference to wincmd.ini.

Should it be there? And if so, where? With what content?
And: why isn't it there?

I hope someone knows the answer(s) to some of these questions.

Thank you,
J.A.G.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

ZIP ?

Post by *Clo »

2J.A. Gruys

:) Hi again !

• You might search in the registry for “Ghisler”…
- However, if you installed the programme only from a ZIP backup or so in that machine, there is indeed not any registry-key…

- The registry key contains only the location¦s of the programme and of the INI files, nothing more.

- Only the installer writes this key, of course.
- Aside, this is a problem when having several versions, in which some installed "by hand" … :|

• Else : Is the "Notepad" still present as the default editor in Windows ?

- Anyway, this is pretty odd, I wonder to hear the continuation ! :D

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2J.A. Gruys
Maybe your have deleted your Windows Notepad.exe file - that's the program TC will open for editing your ini files. It will NOT use the editor you have defined at Configuration -> Edit/View -> Editor for F4
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Alas !

Post by *Clo »

2petermad

:) Hi Peter !

• It's that I say above…
It will NOT use the editor you have defined at Configuration -> Edit/View -> Editor for F4
• Unfortunately… A bunch of users and I requested that for a while, nope, *peanuts*… :(
- You know the pretty row about this…
- I guess that whether we'ld have such a choice, this should help in such a case !

:mrgreen: FR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

Thanks to all. I think I begin to understand it now.

I still have the file notepad.exe in my windows directory, but as editor for F4, I exchanged it for something better (NoteTab Light).

If that is the explanation why "Change Settings Files Directly" does not work anymore, without, moreover, giving any error message, I must confess that I consider this a Big Bug rather than a acceptable explanation.
J.A.G.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

TC tries to open those ini-files with notepad.exe.

So just try the windows "Start->Run" and type "notepad.exe" and enter. This should open the notepad in your windows. If not that is the reason why TC cannot open your ini files.

If notepad opens correctly there must be something else wrong.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

I must perhaps retract part of my previous message, for now I see that at some time in the past, and quite forgotten by me, I must have succeeded in making NoteTab my default Windows text editor. Changing that back, but keeping NoteTab as TCMD's F4-editor, brought back the ability to Change Settings Files Directly.

I am sorry for any confusion I may have created.
J.A.G.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Mystery

Post by *Clo »

2J.A. Gruys

:) Hi !

• Hum… Kind of misunderstanding here…

- Currently, the feature can work with Notepad.exe ONLY !
That Peter said is : If you have no longer it, that can't work, and that the F4 editor shall be NOT used instead !

- So, the mystery darkens… Does your Notepad work still ? :?

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

Reply to Sheepdog: I saw your message only after posting my previous one. You were right, Notepad did open correctly, and consequently something else was wrong indeed, as you said.
J.A.G.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Old OS ?

Post by *Clo »

2J.A. Gruys

:) Hi (saga continuation !:D ) !

• Could you have¦had another old OS in this machine ?

• In example, I've XP-Pro SP1 like you, but also a Win 98 SE which no longer works, although all its stuff remains in the PC…
- So, supposing that you had an older OS and TC already, then install XP without format the HD, TC could search for THE OLD Notepad.exe … Hum… :?:

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Hello Clo,

TC starts the notepad exe from Windows. I have managed to overwrite my notepad.exe by my favoured Texteditor "TextPad.exe".

For this purpose I renamed it first to notepad.exe. Then I replaced the three copies in my windows folder:

%windir%\notepad.exe
%windir%\system32\dllcache\notepad.exe
%windir%\system32\notepad.exe

While doing this I 've ben asked 2 times for the Windows Install CD and canceled this.

Now Windows left the 'TexpPad' -Notepad.exe untouched and when I now use the "Change Setting Files Directly" the files are opened in Textpad instead of Notepad.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Which handle ?

Post by *Clo »

2Sheepdog

:) Hi Stefan !

• Well, but we don't know if J.A. Gruys performed such a handle… unsuccessfully ?

• Anyway, I guess that the lack of error message is a bug, but indeed, impossible to define it as long as we can't reproduce…
- I made some tests also, I can't get that "lack" bug !
• In fact, I didn't ask for a way to change the default for that INI editor, but I regret that TC be unable to use the stated one for F4, either always, or when the default from Win is not found…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply