what is the problem with "find" (not found as command)


  1. Posts : 3
    Windows 10 home
       #1

    what is the problem with "find" (not found as command)


    Hello, my first post. Searched for the topic but could find no reference.

    I experience the following problem: "GoogleCloudSDKInstaller.exe" exits without completing the installation, details say: <"find" not recognized as internal or external command>

    I searched in my laptop and found the following situation:

    A) "find.exe" exists, where i should be and works (if invoked with path)

    C:\Users\ro>ls C:\WINDOWS\system32\find.exe'
    C:\WINDOWS\system32\find.exe'

    C:\Users\ro>C:\WINDOWS\system32\find.exe
    FIND: formato del parametro non corretto

    B) "find" works just the same

    C:\Users\ro>ls
    C:\WINDOWS\system32\find'

    C:\WINDOWS\system32\find'
    C:\Users\ro>C:\WINDOWS\system32\findFIND: formato del parametro non corretto

    C) THE COMMAND ACTUALLY DOESN'T WORK! (when invoked without path!)
    though the path is included in the PATH= system variable

    C:\Users\ro>find
    "find" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.

    C:\Users\ro>path
    PATH=C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86)\Intel\iCLS Client\; C:\Program Files\Intel\iCLS Client\; C:\WINDOWS\system32; .....omissis....

    Questions:
    1 - how is it possible that an external command, on the path, is not found?
    2 - is there a way to make things work properly?

    Many thanks, rs
      My Computer


  2. Posts : 42,734
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    C:\Users\ro>find
    "find" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.
    I can't tell you why you see that: on mine it seems ok
    what is the problem with &quot;find&quot;  (not found as command)-1.jpg

    Typing find (return) alone =>
    FIND: Parameter format not correct

    Two of your examples are incorrect:
    find' & find.exe' with a '
      My Computers


  3. Posts : 3
    Windows 10 home
    Thread Starter
       #3

    True, there is an <'> in excess (I found it quite difficult to format the message in this editor!]
    Of course I suppose that normally the 'find' command is working, that is why I am asking. rs
      My Computer


  4. Posts : 42,734
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Out of curiosity try the final line
    noting you say
    C:\WINDOWS\system32\find.exe'
    works (without the ') as does
    C:\WINDOWS\system32\find' (without the ')

    Then
    C:\Users\ro>find
    does not work.

    Try
    c:\Users\ro>c:\windows\system32\find /?

    The standard comment on this as you clearly expect is that there's an error in your PATH env. variable.
    However, that appears to contain C:Windows\System32
      My Computers


  5. Posts : 3
    Windows 10 home
    Thread Starter
       #5

    reply


    Invoking the command, if you add the path explicitly, works (you get the help message, see below)
    My problem is that "GoogleCloudSDKInstaller.exe" has to invoke it (obviously, without explicit path) in order to complete the installation!

    C:\Users\ro>c:\windows\system32\find /?
    Ricerca una stringa di testo in uno o più file.


    FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "stringa" [[unità:]
    [percorso]nomefile[ ...]]


    /V Visualizza le righe NON contenenti la stringa specificata.
    /C Visualizza solo il conteggio delle righe contenenti la stringa.
    /N Visualizza i numeri delle righe visualizzate.
    /I Ignora maiuscole/minuscole durante la ricerca della stringa.
    /OFF[LINE] Non ignora i file in cui è impostato l'attributo offline.
    "stringa" Specifica la stringa di testo da cercare.
    [unità:][percorso]nomefile
    Specifica uno o più file in cui ricercare.


    Se non viene specificato il percorso, FIND cerca il testo digitato al prompt
    dei comandi o reindirizzato da un altro comando.


    C:\Users\ro>path
    PATH=C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86)\Intel\iCLS Client\; C:\Program Files\Intel\iCLS Client\; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\WINDOWS\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; C:\Program Files\Intel\Intel(R) Management Engine Components\DAL; C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT; C:\Program Files\Intel\Intel(R) Management Engine Components\IPT; C:\Program Files\MySQL\MySQL Utilities 1.6\; C:\Program Files\Anaconda3; C:\Program Files\Anaconda3\Scripts; C:\Program Files\Anaconda3\Library\bin; C:\Program Files (x86)\GNU\GnuPG\pub; C:\Program Files (x86)\Skype\Phone\; C:\Program Files\PuTTY\; C:\ProgramFiles_installedByRS;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\OpenSSH\bin;C:\Users\ro\AppData\Local\Microsoft\WindowsApps;


    C:\Users\ro>find /?
    "find" non è riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    Last edited by scotti; 13 Oct 2017 at 03:36. Reason: wrong formatting
      My Computer


  6. Posts : 42,734
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    That seems to eliminate some odd permissions issue.
    Again, out of curiosity, is there any difference between and admin command prompt and non-admin?

    (I admit I'm grasping at straws here, as this seems obscure..)
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:40.
Find Us




Windows 10 Forums