Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ulfhednar

Pages: [1] 2 3 4 5 ... 22
1
Support and Feedback / Re: Transfer speeds to USB
« on: March 26, 2026, 12:04:04 »
thanks for the reply Mathias.
Yes it is real difference - minutes vs seconds.
MC has full admin permissions & is 100% whitelisted for all ops in the AV.

I agree it appears to be something blocking MC but I am struggling to determine what as it isn't obviuos, I double checked the R/W strategy was as recommended...
I guess I need to run some sort of trace or something.

2
Support and Feedback / Re: Transfer speeds to USB
« on: March 25, 2026, 16:24:35 »
Looks like I spoke too soon...
Files ~300mb to USB 3.0 stick, <20GB free space.
Tried MC first, cancelled after about 10mins, repeated with different file of similar size & took screen shot.
Then using MC panes ctrl+x / v - expected speed achieved, to be sure I ran a CRC check - OK.
Very different results.

3
Support and Feedback / Re: Transfer speeds to USB
« on: March 23, 2026, 15:28:08 »
Thanks Mathias.
Enabling use system cache in write/target for external devices has done the trick, speed is maintained & dialog closes appropriately.  :)

4
Support and Feedback / Re: Transfer speeds to USB
« on: March 21, 2026, 16:13:30 »
Thanks for the replies.  :)
I'd wondered about teracopy but have been preoccupied with the ability to quickly use MC buttons.  I will have to test it tho!

ATM I see speed variations with SSD on USB connector & USB sticks (2 things I use all the time), sticks are always slower I think, but I tried moving a ~300mb video file to different things (so AV wouldn't be triggered), with Win cmds it was <1min, MC gave <3mins on the same port/stick.
I will need to spend some time with MC tx profiles & see if I can see any pitfalls.

5
Support and Feedback / Transfer speeds to USB
« on: March 19, 2026, 13:27:23 »
I’m wondering if it’s just me or something that is a general issue.
I'm using v15.8 b3135 on Win11 x64

When using native Windows ctrl+x/c & ctrl+v to move files to attached USB drives I’m seeing very different TX speeds vs MCs’ copy/move commands With same file / hardware - I’m seeing MBs vs KBs on a USB3.0 link which leads me to suspect MC has something slowing the process. 
It starts out OK but then speed drops significantly to KBs using MC but using the MC dialog + win cmds it maintains MBs TX rates.  ???
Applies to NTFS > NTFS & NTFS > exFAT.

Can this be improved/altered?

6
During my years of MC use, I have had one niggle that you could potentially fix Mathias : -
The Find Files drop-down search history:- currently cleaning it wipes it entirely, I'd like to be able to reorder & selectively delete the entries. (currently I am editing the registry to get it how I want it).
Similarly, I'd like a way to group / reorder the Multirename saved profiles.
....unless you already did this & I just didn't notice  ;D

7
Beta Releases / Re: 15.6 BETA
« on: August 07, 2025, 13:26:41 »
Thanks for the fix Mathias!   ;) 8)

8
Beta Releases / Re: 15.6 BETA
« on: July 30, 2025, 12:30:00 »
Thanks for looking at this Mathias.
The names are 'random' so it can be things like:

  • 16591096719370948hik1082696166279904.txt
  • ak9735409sdf4059hfsifhisajxilh.JPG
  • lfgkfgkfkjkffkkkiiiiiiiyhhufyiffkkkyuasydq.png

The extension is unimportant as I don't specify that, just a long [a-z0-9] string.

In the case of rename & move it fails at the delete line also.  The file is renamed (I used Jungles name as folder script & a move command which did work perfectly up to now), but it doesn't move the file.
It displays a cannot copy msg when reaching this line:-
Code: [Select]
MoveFile( $targetPath, $sourceFile, "NODIALOG");
See attached.
I assume it is related to the delete op as that is where it halts & move requires deletion, but as you can see this msg is showing 'copy'.  Maybe the options segment e.g. as NODIALOG is a common element?
Hopefully you will be able to see why...

Full script is
Code: [Select]
Log( 1, 10, "Renaming files to %%parent_folder_name%%[_N].*" );

@var $src_path = GetSourcePath();
@var $arr = PathGetParts( $src_path );
@var $name = $arr[0];
@var $prefix = StrReplace( PathGetPathPart( $src_path, 1 ), $name, "" );

@var $n = StrRFind( $prefix, "\\" );

if ( $n > 0 )
{
  $prefix = StrSub( $prefix, $n + 1, StrLen( $prefix ) - $n - 1 );

  @var $i;
  @var $s;
  @var $file;
  @var $files;

  $arr = GetSourceSelectedPaths();

  for ( $i = 0; $i < arrayCount( $arr ); $i++ )
  {
    $file = $arr[$i];
    $s = PathGetFileExtPart( $file );
    $name = $prefix + "*" + $s;

    $files = FindFiles( $src_path + $name );
    $n = arrayCount( $files );

    if ( $n == 0 )
    {
      $s = "";
    }
    else
    {
      if ( $n == 1 )
      {
        $s = $files[0]; 
        RenameFile( $s, StrReplace( $name, "*", "_0" ), "RENAME_RO" );
      }

      $s = "_" + numtostr( $n );
    }           

    RenameFile( $file, StrReplace( $name, "*", $s ), "RENAME_RO" );
  }
}
else
{
  Log( 1, 10, "It seems parent folder is root. Renaming impossible." );
}

// move

@var $arr1 = GetSourceSelectedPaths();
@var $items1 = arrayCount($arr1);
@var $MoveNameFullPath;
@var $targetPath;
@var $sourceFile;
@var $n1 = 0;

for( $n1 = 0; $n1 < $items1; $n1++ )
{
  $MoveNameFullPath = $arr1[ $n1 ];
  $targetPath = GetTargetPath();
  $sourceFile = $MoveNameFullPath;
 
  MoveFile( $targetPath, $sourceFile, "NODIALOG");
 
}

9
Beta Releases / Re: 15.6 BETA
« on: July 29, 2025, 12:43:03 »
Thanks for the additional features Mathias.  8)

I think that the last update may have broken something in the MS execution. MC 15.6 b3110 x64 on Win11 24H2 b26100.4652
I get a ‘Cannot delete’ msg when attempting to delete or move files using my previously working scripts.
Stepping through in the debugger everything seems 100% until the delete command is reached, I tried with & without options & it always fails.
E.g.
Code: [Select]
@var $currentPath = GetSourcePath();
@var $Items = GetSourceItems(1);
@var $count = arrayCount($Items);
@var $curItem;
@var $fullFilename;
@var $array2[];

// Loop all items in the $Items array
for( $n = 0; $n < $count; $n++)
{
  $curItem = $Items[$n];
  $fullFilename = $currentPath ^ $curItem;
  @var $isMatch = StrIsRegExpMatchNoCase($fullFilename, "[a-z0-9]{30}");

  if($isMatch)
  {
      arrayAdd($array2, $curItem);
  }
}

@var $options[] = {"RECYCLE", "NODIALOG"};
DeleteFiles($array2, $options);
Breaks at last line with error msg (attached screenshot).

Any ideas?  Thanks!

10
Thanks a lot for looking at this Mathias.
A non-standard " ?  I'm just using default Win11 1250 codepage, no unusual fonts etc.
Maybe corrupted when pasting between dialogs & browser or sth?  Now I am looking for that I can see the "s are different. ???
I've re-typed it instead of using snippets & it looks OK now.  ::)
Apologies.

11
Hi Mathias,
with MC 15.5 b3094 x64, Win11 24H2 b26100.4061 x64, this is what I am finding : -
Code: [Select]
@var $options[] = {“RECYCLE”, "NODIALOG"};
DeleteFiles($array, $options);
- deletes files (not recycle bin) No dialog but progress briefly appears as expected

Code: [Select]
@var $options[] = {“RECYLE”, "NODIALOG"};
DeleteFiles($array, $options);
- deletes files (not recycle bin) No dialog but progress briefly appears as expected

Code: [Select]
@var $options[] = {“RECYLE”};
DeleteFiles($array, $options);
- deletes files to recycle bin with dialog

Code: [Select]
@var $options[] = {“RECYCLE”};
DeleteFiles($array, $options);
- deletes files (not to recycle bin) with dialog

Perhaps you can replicate this?   ;)

12
[***

DeleteFile already support NODIALOG option.. and RECYCLE. it is actually the documentation that misspell it. the code actually require it as RECYCLE

// Deletes all selected files to recycle. No confirm dlg, no progress
Code: [Select]
@var $filenames = GetSourceSelectedPaths();
@var $options[] = {"NODIALOG", "RECYCLE", "NOPROGRESS"};
DeleteFiles( $filenames, $options);

Thanks for the info Mathias.
I tried RECYCLE & it seemed to fail in the debugger, when I added it as RECYLE  it worked (!) so I figured that it was just sth that slipped through.
& it has been working for weeks as a button, it was adding NODIALOG  that caused it to fail... perhaps somehow the combo of RECYLE with NODIALOG reveals the error?
Running the debugger today the options all appear to work (I didn't realize that I could use NOPROGRESS) with the caveat that the files selected do not appear to go to the recycle bin, & running this routine in the debugger multiple times caused MC to simultaneously close when I closed the Explorer recycle bin window (this had been opened after the routine to check for the files).  Did it 3 times in a row. 
Wondering if the options need to be in the order shown or if can I use them in any sequence? 
I will have to try & fully test all this again later on..... ::)
I will let you know what I find ;)

13
- I would like to be able to set MScript to recurse sub-dirs - as with DOS script cmds e.g.
Code: [Select]
for /d /r "%base_dir%" %%d in (.) do
Don't understand.. you want a MultiScript function to get a list of files for a folder and subfolders. ?
Thanks for the reply Mathias.
The code above was the DOS solution for something I failed to get MS to do.
I wanted to search a folder, its' sub-dirs & select files & then run a process (e.g. get source folder; select *.txt, *.jpg, *.bat in the folder inc sub-dirs; delete).
I couldn't determine how get MS to recurse & "do" in the way the DOS command does, which I needed as I wanted to handle several different file types in nested folders.
Assuming MS cannot do this (& it is not just my incompetence!) I'd like MS to have this functionality.

14
I think the thing I miss most in MC is 'Undo' as in MSExplorer. I understand this is a big job. I currently use the log to check what mistakes I've been making, so it's not all bad :)) .

I like playing with MultiScript & I would like to improve my ability, thus would like a few improvements to the debugger (RMB context menu might be nice). Some idiots guide-type tutorial entries might be helpful as some of the error msgs are not sufficient for me to quickly pinpoint errors unfortunately. It is better than DOS though  :)

Slightly less demanding than a debugger makeover:-
 - I would like to be able to set MScript to recurse sub-dirs - as with DOS script cmds e.g.
Code: [Select]
for /d /r "%base_dir%" %%d in (.) do
 - I'd like NODIALOG added to DeleteFiles e.g.
Code: [Select]
@var $options[] = {“RECYLE”};  "NODIALOG"   
DeleteFiles($array, $options);
  (Maybe Recyle needs to be spell-checked?  :P)


Thanks for a great piece of reliable & useful software.

15
Beta Releases / Re: 15.3
« on: April 18, 2025, 14:32:58 »
Thanks for replies Mathias.
We can always rely on M$ to create problems  ;D

16
Beta Releases / Re: 15.3
« on: April 17, 2025, 11:14:15 »
Thanks Mathias.
I did wonder why/how it was the shell commands that caused it, have never seen it before.
I selected items in MC & then used ctrl+x / v using MC to navigate between folders. IIRC there had also been a file being moved to USB via MC move command/dialog when I'd started using the shell commands. 

& Thanks for the update but FYI
Code: [Select]
Downloading update for Multi Commander...
Failed to download MultiCommander (HTTP Status code : 404)
Error : Call "Server Error" , Failed with error code : 13
is output by the updater ATM.

18
Beta Releases / Re: 15.3
« on: April 16, 2025, 22:29:25 »
Thanks Mathias :)
Had a couple of crashes/restarts when using ctrl+x ctrl+v. 
Sent in the crash reports. It referenced kernel.dll in one dialog.

19
Beta Releases / Re: 15.3
« on: April 16, 2025, 10:02:06 »
Received update to 15.4 b3086 today.
Change log was blank but I installed it anyway...
I'll let you know if my PC explodes  ;)

20
Script / Re: Is there a StrReplace that's case insensitive?
« on: April 09, 2025, 13:56:09 »
See latest beta that was release today

Thanks Mathias
Code: [Select]
$NewName = StrReplace($OrgName, "<string to match>", "<replacement>", "ignorecase");is like Xmas come early  ;D

21
Script / Re: Is there a StrReplace that's case insensitive?
« on: April 08, 2025, 13:39:44 »
Thanks Mathias. Would be great if you can find time for it  ;)

22
Script / Is there a StrReplace that's case insensitive?
« on: April 07, 2025, 17:26:13 »
I'm wondering if there is a case insensitve version of StrReplace
I've seen updates for MS commands in MC updates but I know that some of the MS commands haven't been listed in the docs yet, so does this exist or did I only dream about it ? ;)


23
Support and Feedback / Re: Regex matches in MR
« on: April 04, 2025, 12:28:09 »
Thanks for the replies Mathias & Jungle.
The regex 'flavor' is supposed to be C++ - which is what I set the online test to.
I spend quite a lot of time using regex renames & I do try to ensure the box is ticked, I definitely did on this as I was trying flavor variations for about 15mins when my first checked & rechecked c++ version wouldn't work. :(
So.
Today #1 works fine  :o ???  MC has been updated since but still this is a mystery.
Jungle is correct about entering the regex via the ... dialog, as adding it via the entry fields works. That must have been the gotcha on that.

Thanks again!

24
Support and Feedback / Regex matches in MR
« on: April 02, 2025, 13:20:53 »
I have a couple of questions about regex use in MultiRename

(?:[0-9a-z]{30})
should match string:-
0ec4dc9a5ea17339b06d1d0f1b2283
but doesn’t find it whether alone or placed in a longer string.

Test page on regex101.com shows it works in both instances eg:
Quote
(?:[0-9a-z]{30})  /gm
Non-capturing group (?:[0-9a-z]{30})
Match a single character present in the list below [0-9a-z]
{30} matches the previous token exactly 30 times
0-9 matches a single character in the range between 0 (index 48) and 9 (index 57) (case sensitive)
a-z matches a single character in the range between a (index 97) and z (index 122) (case sensitive)


Multiple search matches when | separated eg:-
(abc|zxy|der)
won’t work, each element needs to be separately entered on an individual line.

Is this expected behaviour?
I checked the regex's work online so I'm wondering what is different.

25
Beta Releases / Re: 15.3 Beta 3079
« on: April 02, 2025, 13:06:43 »
Thanks for the fix Mathias ;)

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