and I got it!
You must have the real 7zip app installed for this script to work. Create a .bat file named 7zip.bat. Copy the following into that file:
FOR %%F IN (%1\*.7z.001) DO "C:\Program Files\7-Zip\7z.exe" x -o%2 "%%F"
FOR %%F IN (%1\*.7z) DO "C:\Program Files\7-Zip\7z.exe" x -o%2 "%%F"
for default execute command put: C:\location_of_script\7zip.bat "$d" "$u"
The first line finds any split 7zip archives and unzips them, the second unzips any regular non-split 7zip archives.
anyone know if there's a way to do a cleanup and delete par2, sfv and 7zip files but only if it's correctly unzipped?
edit:
if you want the script to move any remaining files you'd want to keep, delete the 7zip files onces they've been extracted correctly and then delete the folder if it's empty then here's the script containing that.
FOR %%F IN (%1\*.7z.001) DO "C:\Program Files\7-Zip\7z.exe" x -o%2 "%%F"
IF ERRORLEVEL 1 GOTO Failed
FOR %%F IN (%1\*.7z) DO "C:\Program Files\7-Zip\7z.exe" x -o%2 "%%F"
IF ERRORLEVEL 1 GOTO Failed
move %1\*.nfo %2
move %1\*.jpg %2
move %1\*.png %2
move %1\*.wmv %2
move %1\*.avi %2
move %1\*.mpg %2
del %1\*.7z.*
del %1\*.7z
del %1\*.par2
rem @echo off
dir %1|find " 0 File(s)" > NUL
if errorlevel 1 goto notempty
dir %1| find " 2 Dir(s)" > NUL
if errorlevel 1 goto notempty
rd %1
:Failed
:notempty