another quiz: filter challenge
Duh, I feel a bit stupid. I can think of some more tweaks with hardlinks, creating 0byte files etc for solving space or time problems.Mr.Pleasant wrote:It might work, but not when you have all your files in the scrap container. In that case you should usebut when I tried it I could not get it to workNotice the '$F' instead of '$N'.Code: Select all
copy "$F" "c:\extensions\extensions.$E"
The thing I don't like about it, is that it might need a lot of free disc space, in order to copy the files. I'd suggestto put in the command script, while you have all files selected.Code: Select all
md "c:\extensions\$E"
Clicking on 'Execute (DOS)', You should get a folder full of empty folders, named after the extensions of selected files (one of each extension). Of these you could get a list using 'copy columns'.
But I didn't recall we actually had the solution for the problem already in our "count extensions" challenge
http://forum.zabkat.com/viewtopic.php?p=38226
and my solution there (with creating dirs instead of files) can of course be used for determination of the extensions here as well (and better as my other suggestions.
-
- Silver Member
- Posts: 281
- Joined: 2006 Dec 29, 12:56
- Location: Utrecht, NL