FLATVIEW=Toggle,MixedNoFolders on selected folders possible?

Would it be possible to expand the current command:
Set FLATVIEW=Toggle,MixedNoFolders

so it will do the same but just on selected folders and not the all subfolders within a folder.


Not easily, but you can use Find to get a list of files below specific folders, if you don't need it to be a "live" list like Flat View gives you.

Bad luck then.

The idea behind this was that I wanted to batch rename files that are within -say- 4 subfolders out of a list of say 20 other subfolders.
The workaround now is to move those 4 to a separate empty subfolder, do the rename there using the above toggle show files only.


I use a button for this, using the method Leo described.
If folders bother you, you can hide them after the find by running an advanced selection with a filter that matches folders or alter the find command to use a filter that excludes folders.

<?xml version="1.0"?>
<button backcol="none" display="both" separate="yes" textcol="none">
	<tip>Find-All in selected items to flat collection</tip>
	<function type="normal">
		<instruction>Find RECURSE NAME=* COLLNAME &quot;FlatView-Cache/FlatView-Selected&quot; SHOWRESULTS source,tab IN {allfilepath$}</instruction>

Sorry for the delay.

This is really wonderful!!
Thank you so much.

Exactly what I am looking for.
I am using this, for example, to rename files after {parent1} folder (plus seq#)
or needcase after {parent2}-{parent1}-[#]

Anyway, thanks a lot!