Rename All in FlatView

Hi,

I don't remember which version this button worked, but with current 9.5.3.0, I can't get this to work anymore.

The function of the button should be to :

  • Change any occurrence of %20 into a space in ANY file and folders AND subfolders. (no matter if something or even nothing is currently selected).

<?xml version="1.0"?> <button backcol="none" display="both" textcol="none"> <label>%20 to space for ALL files and folders in current lister</label> <tip>%20 to space for ALL files and folders in current lister</tip> <icon1>#newcommand</icon1> <function type="normal"> <instruction>Rename FROM=&quot;*&quot; PATTERN=&quot;%20&quot; TO=&quot; &quot; FINDREP</instruction> </function> </button>

Any idea how I can make this work again please ?

Seems to work for me. Can you see any differences between what I'm doing and what you're doing?

Also, try changing it to replace something other than %20, and see if that works, in case that's important.

There was this change in 9.5.3.0 (but it hasn't caused the problem for me so it could be irrelevant):

Aargh! :confused:

I was trying this button in the Flat View mode, something I also have problems with.

In normal mode, the button does exactly what it has to, it's only in Flat View that this also doesn't work.

Something seriously wrong with Flat View imho.

It works with Flat View, except that it only affects items directly below the current folder (which I think is how it has always worked).

If you want to do a recursive rename then the RECURSE argument gives you that (but would make it recursive whether or not you are in FlatView).

Alternatively, you could put a Select ALL at the start of the command, and remove the FROM=* argument, since what you're seeing is because using Rename FROM=* only renames items directly below the current folder.

That seems like quite an exaggeration. :slight_smile:

Ah so, I didn't think that far.
Thanks for the RECURSE tip.

Perhaps a more accurate conclusion : there's something seriously wrong with me. :grin: