Author Topic: Strange work with archives.  (Read 3575 times)

dddima

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Strange work with archives.
« on: September 05, 2025, 22:59:32 »
Strange work with archives.  I created an archive and tried to delete files in the archive. In this case, the folder is Files. But after deletion, this folder is displayed in the archive. However, I need to close Commander and reopen the archive to see that the folder has been deleted. 

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4742
    • View Profile
    • Multi Commander
Re: Strange work with archives.
« Reply #1 on: September 08, 2025, 09:27:44 »
Does a Refresh (F2/F4 or press on Refresh icon) work ? will it refresh it to the correct state ?

dddima

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Re: Strange work with archives.
« Reply #2 on: September 08, 2025, 21:03:15 »
F2 simply did not function until I added the following key:
MC.Explorer.Refresh FORCEREBUILD.

However, when I added this multiscript to the “Delete” key:
MC.Explorer.Delete NOQUEUE
MC.Explorer.Refresh FORCEREBUILD
or
MC.Explorer.Delete
MC.Explorer.Refresh FORCEREBUILD
,it did not update automatically...

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4742
    • View Profile
    • Multi Commander
Re: Strange work with archives.
« Reply #3 on: September 08, 2025, 22:31:30 »
Strange. I can't replicate that

And you should not run multiple CustomCommands in a MultiScript, specially file operations commands since they are run in the backgrund, so they return directly so then the refresh is probably done before the delete has happend.

Also it is "NEWQUEUE" not "NOQUEUE" as optional parameters. but I don't think thats matters,
« Last Edit: September 08, 2025, 22:35:00 by Mathias (Author) »

dddima

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Re: Strange work with archives.
« Reply #4 on: September 09, 2025, 11:16:34 »
Maybe I need to enable some logging? So you can see the reason.
Because pressing F2 every time I update the archive is not very convenient...

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4742
    • View Profile
    • Multi Commander
Re: Strange work with archives.
« Reply #5 on: September 09, 2025, 11:32:10 »
For me it updates automatically. I can't replicate that it is not updated.

If you look in fileoperation or filesystem log (Ctrl+L) you might see some error there for that.


dddima

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Re: Strange work with archives.
« Reply #6 on: September 09, 2025, 13:24:56 »
I clicked delete and it still shows up