I have this batch script I found online that takes a file name and makes a folder based on the name of the file and then moves the file into that folder:
for %%f in (*) do @(md "%%~nf"&move "%%f" "%%~nf")>nul 2>&1&1
I want to take similar files and move them into same folders, all multiple files have 001 002 003... ect at the end, so I just want to sort and move them based on everything besides the numbers on the end. I've did some digging and I think I need to use %%var:~start,end%% in that script, but not 100% sure how to configure it.
so if I have:
render001.png
render002.png
render003.png
and
txt001.png
txt002.png
txt003.png
I just want 2 folders named 'render' and 'txt' with the files moved into there
any help would be awesome.