(moving files in subdirectories up 1)
for /r %x in (*.*) do move "%x" "%x"/../..
(in the last part I usually use backward biases, but this crazy thing deleted them for some reason. This will work anyway)
(delete unnecessary directories)
for /d /r %x in (bin) do rd "%x"
ie, if you had a group of directories with files in the bin directories according to these and you wanted to move everything to 1 and delete the bin directories.
Shawn
source share