Another option is to put the batch file in the top level directory. You could make two batch files, one with a +h called hide.bat and one with a -h called unhide.bat for instance. In the top level, create the hide.bat file with this command:
attrib /s /d +h *.dop
and the unhide.bat file with:
attrib /s /d -h *.dop
These will hide/unhide all files in the current directory and every subdirectory within that directory.