Code: Select all
$path = <curpath>;
$files = quicksearch("/f", $path);
$folders = regexreplace($files, "[^\\]*?(?=\r?\n|$)");
$folders = formatlist($folders, "de", <crlf>);
paperfolder("Folders_with_Files", $folders);
Code: Select all
$path = <curpath>;
$files = quicksearch("/f", $path);
$folders = regexreplace($files, "[^\\]*?(?=\r?\n|$)");
$folders = formatlist($folders, "de", <crlf>);
paperfolder("Folders_with_Files", $folders);
Thanks, learned about PaperFolders too....highend wrote:So you want to see only folders that contain files (but not the files itself)...
You need to add the path column to the paperfolder view, so that displayed subfolders get their real context, though...Code: Select all
$path = <curpath>; $files = quicksearch("/f", $path); $folders = regexreplace($files, "[^\\]*?(?=\r?\n|$)"); $folders = formatlist($folders, "de", <crlf>); paperfolder("Folders_with_Files", $folders);
Code: Select all
$path = "N:\RoughTagged\";
$files = quicksearch("/f", $path);
$folders = regexreplace($files, "[^\\]*?(?=\r?\n|$)");
$folders = formatlist($folders, "de", <crlf>);
paperfolder("FoldersWithoutSubfolders", $folders);
Code: Select all
<curpath>?/md=1 /dx
Code: Select all
goto "N:\RoughTagged\?/md=1 /dx";
Wow, that is awesome. Found 547 folders in a flash.jupe wrote:With your example above if you are positioned in this path, "Drive:/Current Dir/" and used this in the XY address bar:
it should do what you want too, if I am understanding correctly.Code: Select all
<curpath>?/md=1 /dx
For posterity, the code can be well understood through the help file. In any case, I understood it as follow:pdupreez wrote:Wow, that is awesome. Found 547 folders in a flash.jupe wrote:With your example above if you are positioned in this path, "Drive:/Current Dir/" and used this in the XY address bar:
it should do what you want too, if I am understanding correctly.Code: Select all
<curpath>?/md=1 /dx
Now if I only know what it means (My problem, I will go and read up). Thanks to you and highend
Thanks a lot