Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'findstr' is not recognized as an internal or external command,

Tags:

jboss

I got the following error while starting JBoss from a command line prompt today:

'findstr' is not recognized as an internal or external command 
like image 550
user1314506 Avatar asked Apr 20 '12 10:04

user1314506


People also ask

How do you resolve findstr is not recognized as an internal or external command operable program or batch file?

'findstr' is not recognized as an internal or external command, Go to the path C:\Windows\System32. Find the findstr.exe, copy it and then find the path where you bin file of your application is found.

How do I run findstr from command prompt?

You can run findstr from the command line or as a batch file. Open a new command line prompt by clicking on the Windows-key, typing cmd.exe, and selecting the result. Alternatively, use the Run command to open findstr.

What is findstr command?

In computing, findstr is a command in the command-line interpreters (shells) of Microsoft Windows and ReactOS. It is used to search for a specific text string in computer files.


1 Answers

Please google it, you can find a lot of answers. But do as below to fix it. Add the following value to Right Click My Compuer -> Advanced -> Environment Variables -> System Variables -> Select Path variable -> append the below value.

C:\WINDOWS\system32

It should work with that change.

like image 181
Phani Avatar answered Sep 20 '22 00:09

Phani