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

dddima

  • Newbie
  • *
  • Posts: 14
    • 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: 4740
    • View Profile
    • Multi Commander
Re: Strange work with archives.
« Reply #1 on: Today at 09:27:44 »
Does a Refresh (F2/F4 or press on Refresh icon) work ? will it refresh it to the correct state ?

dddima

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Strange work with archives.
« Reply #2 on: Today at 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: 4740
    • View Profile
    • Multi Commander
Re: Strange work with archives.
« Reply #3 on: Today at 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: Today at 22:35:00 by Mathias (Author) »