8

I'm trying to install Google cloud SDK in my PC.

I changed the current directory to C:\google-cloud-sdk where the install.bat file is located.

I'm unable to run the batch file from cmd and it gives the following error when I type install.bat in the cmd:

'find' is not recognised as an internal or external command, operable program, batch file.
double-beep
  • 5,031
  • 17
  • 33
  • 41
SaiCharan
  • 81
  • 1
  • 1
  • 2

3 Answers3

9

I was able to resolve this issue by adding C:\WINDOWS\system32; to the beginning of my PATH environment variable.

double-beep
  • 5,031
  • 17
  • 33
  • 41
k2g
  • 91
  • 1
  • 1
7

It sounds as though your PATH environment variable is not defined properly. It should contain a list of paths to standard and installed software. Perhaps your batch file is defining its own PATH value, which would break the functionality.

double-beep
  • 5,031
  • 17
  • 33
  • 41
dbenham
  • 127,446
  • 28
  • 251
  • 390
1

The batch file install.bat uses the command find, which doesn't seem to be on your PC (or at least, not in a directory in the path variable). Try open a command prompt and type the command find. If you receive the same error, try the command findstr. If findstr works replace the usage of find in install.bat with findstr. You may also need to change the syntax of the command, please post here if that occurs and you require help.

unclemeat
  • 5,029
  • 5
  • 28
  • 52