|for /f "tokens=* delims= skip=3" %%a in ('dir/b/o-d') do (|
echo del %%a
"tokens=* is to pull the whole line for ('dir/b/o-d')
delims= is to use space as a deliminator, kind of like a break
skip=3" is to skip the first 3 lines in ('dir/b/o-d')
('dir/b/o-d') is to pull the directory, sorting in order of created.
so basically you are looping the ('dir/b/o-d') with the for /f command
and setting %%a equal to each line.
If i am not mistaken the echo del %%a was intended to be a safeguard untill you are sure it works. instead of del %%a