I got the following error while starting JBoss from a command line prompt today:
\'findstr\' is not recognized as an internal or external command
for me it works when I've coped findstr(from windows/system32) to wildfly/bin
I have try to work with play framework but stuck with to run activator.bat file but solution is the same just copy file from windows/system32/findsr and past it to under stuck folder then run the respective file again. thanks to andrewsiand Suryaprakash
Check to see if you %SystemRoot% is evaluating (type set path into a command prompt, you should not see %SystemRoot%, but instead that actual path). If your path variable's (user, or systems) first entry begins with an %(an environment variable) this can cause an issue.
To resolve this, simply swap this first entry with anything else in your path that does not lead with an environment variable.