Recent Posts

Pages: [1] 2 3 4 5 ... 10
1
Yes — use `NEWNAME` as the suggested value, and generate that value with `PathGetNamePart(..., 1)`, which the docs say strips the extension. `MC.Filesystem.Rename` supports `ASKNAME`, and if `NEWNAME` is also provided, it is used as the suggested name in the rename dialog. `NEWNAME` must be only the file name, with no path parts.

Use this User-Defined Command MultiScript for only a popup /w the Filename (no Extension):
Code: [Select]
#options (RunSeparate)
@var $file = GetSourceFocusPath();
@var $base = PathGetNamePart( $file, 1 );
MC.Filesystem.Rename FILE={$file} ASKNAME NEWNAME="{$base}";

That will open the rename dialog with the current filename already filled in, but without the extension. `GetSourceFocusPath()` gives the current file, and `PathGetNamePart(path, 1)` returns the name without the extension. ([multicommander.com][2])

If you want the current file selection to be used automatically, you can even omit `FILE={$file}`, because the command uses the current file when `FILE` is not supplied.

Hope it helps ! In the future, you can use ChatGPT AI (ensure you click + and enable 'Thinking Mode') to help you /w your scripting needs, I found it very efficient, Claude is better at AutoHotkey scripting (unrelated.)
2
Support and Feedback / Rename window with filename only
« Last post by culturework on Today at 09:08:14 »
A fresh user here, greetings to all and big thanks to dev for this impressive soft.

Question:
I am using this User Command:
#options (RunSeparate)
MC.Filesystem.Rename ASKNAME

what can I do to have this window with filename only, without ext?
I am frequently adding strings to names, so current name in the box is needed, but don't need extension.
I am new to this and still struggling to understand scripting in MC.
3
Troubleshooting Custom File Type Launchers and Icon Overrides in MC: Icon Deletion When Adding New Extensions
I'm configuring a custom file launch setup in MC for handling various PDF-related formats. The current File Types setup includes: `*.pdf`, `*.epub`, `*.djvu`, `*.mobi`, `*.chm`, `*.FB2`, `*.CB7`, `*.CBR`, `*.CBT`, `*.CBZ`, `*.PRC`.

The launcher configuration in `FileTypes.xml` looks like this:

xml
Code: [Select]
<launcher name="Sumatra Sandbox">
  <program type="1" name="" path="C:\Users\dell\Documents\SumatraALLOld\SumatraPDF-3.2-64.exe" args="-invert-colors &quot;${filepath}&quot;"/>
  <icon use="0" path="" index="-1"/>
  <extensions>*.pdf *.epub *.djvu *.mobi *.chm *.FB2 *.CB7 *.CBR *.CBT *.CBZ *.PRC</extensions>
</launcher>

I added a new file extension `*.azw3` to the `<extensions>` list. However, doing so causes my custom icons defined in `IconOverride.xml` for `.pdf`, `.epub`, and `.mobi` to be deleted automatically.

Icon override configuration:

xml
Code: [Select]
<icon ext=".pdf" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>
<icon ext=".epub" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>
<icon ext=".mobi" iconpath="D:\Download\PDFX_Vwr_Port\PDFXCview.exe" iconindex="0"/>

**Issue:** 
Adding a new extension to the launcher `<extensions>` list appears to overwrite or remove existing custom icon overrides for certain file types, specifically `.pdf`, `.epub`, and `.mobi`. How can I add support for `.azw3` without disrupting my existing icon customizations? 

    **Seeking:** 
    • Best practices for expanding file associations in MC without invalidating custom icon settings.
    • Configuration adjustments or workaround recommendations to preserve icon overrides when modifying launcher extensions.

P.S: I did all this via the user interface. There is clearly a synchronization mishap (saving a File Extension Launcher is breaking the associated Custom Icons), I urge you to fix it please, Mathias !
4
Yes. I clicked the refresh button on the file list. The problem might be caused by focus. If you click the refresh button on the file list after clicking the folder tree, it will collapse the folder tree. Sometimes I also try to refresh the file list by switching folders and then switching back.
5
The tree is not refresh if you just refresh the filelist   the refresh button above the tree is for the tree view.. if you press the refresh above the filelist. the tree is not refreshed. of if you press F2/F5 (depending on setup) to refresh when focus is in the file list only the filelist is refreshed
6
ok. thank you.

Recently, I have been using mapped Linux. I modified files under Windows, but it's difficult to automatically sort them to the top based on modification time. Clicking the modification time repeatedly doesn't update it. I have no choice but to use the refresh button. However, the refresh button not only refreshes the file panel, it also collapses the folder tree during synchronization.
7
That because when you refresh it actually rebuild the entire UI tree and make sure that all folder and files are in sync (exists)
8
before refresh:
 
 root
      a
        ----b  This is the current directory
      c
        ----d

after  refresh:

 root
     a
       ----b
     c
   
           
9
Beta Releases / Re: v16.0 Beta
« Last post by Ulfhednar on June 07, 2026, 13:54:11 »

Queue hang -

This is not something I been able to reproduce on any machine, so I have to let that be and hope somebody can provide steps to reproduce.  It does not look to be common since I can't reproduce it.

Thanks for looking at it Mathias.

Since the update to 3172 the issue seems to have gone...!  I will keep an eye on it but you may have solved it!
10
Support and Feedback / Re: Remembering network paths
« Last post by Mathias (Author) on June 03, 2026, 14:54:13 »
Settings.

Explorer Panel Settings > Display (Tab) > Save on exit (Almost last in the list)

Uncheck That is it should only remember paths to local HD, (trying to access remote drives that are gone at startup can make MC Hang for a while until window tells it , that it is not there. )

Pages: [1] 2 3 4 5 ... 10