I got the following error while starting JBoss from a command line prompt today:
\'findstr\' is not recognized as an internal or external command
You can also hard code the directory by replacing 'findstr' with 'C:\Windows\system32\findstr'. This is useful when using systems with restricted user permissions.