bat file help

  • could anyone help with a bat file or any script or file. what im looking for is something that would move video files out of folder or subfolder and delete the folder afterwards.
    someone gave me an example of bat file


    echo off
    for /f %%a in (dir /s /b *.avi) do move %%a
    :: ,put RMDir with syntax here
    exit.


    i think this only looks in folders i would like it to look in all sub folders. and also what does syntax mean

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!