This has nothing to do with Windows. The error you get is displayed when a script exceeds the maximum alias call depth (1000 or 500, depending on how you call the alias): in the vast majority of cases, this is due to a mistake in the script itself, which results in infinite recursion. As I don't think you even need (or meant to use) recursion in your script, you'll have to show us all the aliases involved in this operation (not just the $findfile line).

Regarding your $findfile, the third parameter is supposed to be a number, not a wildcard. You need 0 instead of * in there. Although any non-numeric string defaults to 0 in most such cases, you should use the proper syntax.