>move /a:-d /n:e /md /r /s *.txt \ZZ_Documents\TXT\
In the command above, if there are no TXT files in a folder below the current one, (e.g. .\Sample\) after the move operation is finished - there will be a \ZZ_Documents\Sample\ folder that will be empty. I know I can use DEL /a:d /s /e /x /y \ZZ_Documents\ to remove empty folders but is there a switch for MOVE to not make empty folders in the destination tree?
In the command above, if there are no TXT files in a folder below the current one, (e.g. .\Sample\) after the move operation is finished - there will be a \ZZ_Documents\Sample\ folder that will be empty. I know I can use DEL /a:d /s /e /x /y \ZZ_Documents\ to remove empty folders but is there a switch for MOVE to not make empty folders in the destination tree?