.

running batch files in all subfolders

This example will step into each subfolder and run a batch file called sync.bat and return to the original path.

@echo off
for /d %%f in (*) do pushd "%%f" & echo synchronising %%f ... & call "sync.bat" & popd
pause

What's your thoughts on this?

*

Protected by WP Anti Spam