Is it possible to create a batch file to search a server of usernames for a specific folder found under a certain path. For example "\server\folder\USERNAME\folder1" is the path and the file/folder under this ends in ".test" for example . Windows search will only search through all subfolders. I only want to search the above folder, but USERNAME is a varibale and can change up to 100 times, maybe more.

For example I want to find ".test" within
\server\folder\USERNAME\folder1
\server\folder\USERNAME1\folder1
\server\folder\USERNAME2\folder1
\server\folder\USERNAME3\folder1
etc....

Is this possible?
I have admin rights on the server. I just do not know the syntax to use, I am not good at writing batch files at all.