i'm trying to make a file organizer that'll read a DIR and it's sub DIRs and place files that look 'matching' in a DIR with that name. Such as ,
HIFiles.txt
HiFiles.jpg
HiFiles.zip
Chickens.zip
Chickens.txt

would make hifiles a DIR , and place hifiles.txt/jpg/zip in the hifiles DIR, and same with chickens.

some people came up with this for me, //window -sh @list | var %a = $findfile(C:\test,*,0,aline @list $1-) | savebuf @list listx.txt | run listx.txt

to save the files to a txt, then i'm lost mad

maybe there would be a way to use $read() to gather patterns and move them to a DIR ? If someone comes up with a method, could you also make it easy to check for 2 or more " patterns " to check for insted of just one if needed ?