Copy a file to all subfolders of a folder. (bat)
===

i need to copy test.swf to all subfolders of c:/test folder's that doesn't contain "git" word

just tried something like that but not worked

    @setlocal enableextensions enabledelayedexpansion
    @echo off
    for /r %%a in (.) do
    ( 
    if not x%a:git=%==x%a% do
    (
    @copy "C:\test.swf" %a > nul
    )
    )
    endlocal