I use this short batch file:
for /d /r %%d in (*.*) do rd "%%d"
to remove empty folders on a backup device (NAS)
it takes quite a long time to complete, alse because I repeat the
command 10 times, to delete nested folders that have been ignored (not
empty) in the previous run
to avoid the output I add
at the end, so on screen it shows only the a.m. errors
"The directory is not empty"
now, while it is running
I'd like to see a sort of counter before the error message, to have a
visual confirmation that the command is running :'), i.e.
125 The directory is not empty
288 The directory is not empty
327 The directory is not empty
458 The directory is not empty
and so on
(note skipped numbers, the missing were those successfully deleted)
/-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
-=- -=- -=- -=- -=- -=- -=- -=- - -=-
........... [ al lavoro ] ...........