DOS sumup

Upgrade the structure of all files in current folder (including sub-folders and sub-sub-folders…) by one level

1
for /r %x in (*.*) do move "%x" "%x"/../..

Get all file names (absolute paths) in current folder to txt

  • Get all file names

    1
    Dir /b *.* > list.txt
  • Get all file full paths

    1
    Dir /s /b *.* > list.txt