Trouble editing different files in different archives with F4

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
efesreal
Junior Member
Junior Member
Posts: 22
Joined: 2016-05-12, 15:27 UTC

Trouble editing different files in different archives with F4

Post by *efesreal »

I open an archive and edit a txt file with f4,
without closing editor,
I open another archive and edit a txt file with f4.

Both files appear opened in Notepad++. However, I receive a message that the first file I opened could not be found.
The first file I opened does not appear in the temp folder.

How can I solve this problem?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Trouble editing different files in different archives with F4

Post by *ghisler(Author) »

Not confirmed. What I get is this:
Editing the first file opens notepad++ and TC will wait for its closure to delete the temporary file.
Editing the second file opens the file in the already running notepad++, so TC doesn't receive back a handle of the running app. Therefore it shows a message where the user has to confirm when they no longer needs the temporary file.
Author of Total Commander
https://www.ghisler.com
efesreal
Junior Member
Junior Member
Posts: 22
Joined: 2016-05-12, 15:27 UTC

Re: Trouble editing different files in different archives with F4

Post by *efesreal »

After opening both files from different archives for editing, I switch to another application. When I switch back to Notepad, I get a file not found error.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Trouble editing different files in different archives with F4

Post by *Horst.Epp »

With my editor setting (PSPad) there is no such problem.
It behaves like Christian said.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
efesreal
Junior Member
Junior Member
Posts: 22
Joined: 2016-05-12, 15:27 UTC

Re: Trouble editing different files in different archives with F4

Post by *efesreal »

When I tried it with PSPad, I didn't get a file not found error.
However, when I changed and saved the second file, TC didn't give an archiving warning.
The file in the archive was not change.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Trouble editing different files in different archives with F4

Post by *Horst.Epp »

efesreal wrote: 2025-02-10, 13:07 UTC When I tried it with PSPad, I didn't get a file not found error.
However, when I changed and saved the second file, TC didn't give an archiving warning.
The file in the archive was not change.
Not for me, both files are saved.
TC asks for every changed file from both archives.
For me, PSPad manages files in tabs and not with separate windows
but it also works fine when I only allow one instance.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
efesreal
Junior Member
Junior Member
Posts: 22
Joined: 2016-05-12, 15:27 UTC

Re: Trouble editing different files in different archives with F4

Post by *efesreal »

I couldn't solve the problem. Unfortunately, it doesn't work for me.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Trouble editing different files in different archives with F4

Post by *ghisler(Author) »

Try changing the command for the editor to:
"C:\Program Files\Notepad++\notepad++.exe" -multiInst "%1"

This opens a separate Notepad++ window for each file. The benefit is that Total Commander can then track each one of them and doesn't need to show the "click to close" dialog.
Author of Total Commander
https://www.ghisler.com
efesreal
Junior Member
Junior Member
Posts: 22
Joined: 2016-05-12, 15:27 UTC

Re: Trouble editing different files in different archives with F4

Post by *efesreal »

This solves the problem.
I guess I won't be able to use Notepad++'s tabbed workspaces.
Thanks.
Post Reply