If the command is not working on Windows, try replacing grep with find. Example: adb shell ls -IR | find fileName