无法在cmd中找到特定的可执行文件

无法在cmd中找到特定的可执行文件,cmd,Cmd,目前我的Windows中有5种浏览器——MicrosoftEdge、InternetExplorer11、Chrome、Firefox和Opera。我使用cmd搜索这些浏览器的可执行文件,以检查它们是否安装在系统中,稍后我将创建一个批处理脚本以进行检查 但是,在浏览目录后,在中只找到了5个浏览器中的2个。我尝试的两种查找特定文件/文件夹的方法都给出了相同的结果 以下是浏览器可执行文件的默认命名约定: MicrosoftEdge-MicrosoftEdge.exe Volume in drive

目前我的Windows中有5种浏览器——MicrosoftEdge、InternetExplorer11、Chrome、Firefox和Opera。我使用cmd搜索这些浏览器的可执行文件,以检查它们是否安装在系统中,稍后我将创建一个批处理脚本以进行检查

但是,在浏览目录后,在中只找到了5个浏览器中的2个。我尝试的两种查找特定文件/文件夹的方法都给出了相同的结果

以下是浏览器可执行文件的默认命名约定:

MicrosoftEdge-MicrosoftEdge.exe

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

 Total Files Listed:
           2 File(s)              0 bytes
           0 Dir(s)  269,413,756,928 bytes free
C:\Users\User\AppData\Local\Microsoft\WindowsApps\MicrosoftEdge.exe
Internet Explorer 11-iexplore.exe

谷歌Chrome-Chrome.exe

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F    
File Not Found
INFO: Could not find files for the given pattern(s).
Mozilla Firefox-Firefox.exe

Opera-launcher.exe

以下是我已经尝试过的:

dir /a /s

示例结果

目录/a/s MicrosoftEdge.exe

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

 Total Files Listed:
           2 File(s)              0 bytes
           0 Dir(s)  269,413,756,928 bytes free
C:\Users\User\AppData\Local\Microsoft\WindowsApps\MicrosoftEdge.exe
dir/a/s chrome.exe

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F    
File Not Found
INFO: Could not find files for the given pattern(s).
其中MicrosoftEdge.exe

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

Directory of C:\Users\User\AppData\Local\Microsoft\WindowsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

15/10/2019  01:05 pm                 0 MicrosoftEdge.exe
           1 File(s)              0 bytes

 Total Files Listed:
           2 File(s)              0 bytes
           0 Dir(s)  269,413,756,928 bytes free
C:\Users\User\AppData\Local\Microsoft\WindowsApps\MicrosoftEdge.exe
chrome.exe在哪里

Volume in drive C is Windows
Volume Serial Number is 0AAC-370F    
File Not Found
INFO: Could not find files for the given pattern(s).

我对其余的部分也做了同样的操作,除了MicrosoftEdge之外,只能找到Opera,其余的都找不到。我是否使用了错误的搜索方法,或者是否有其他方法可以找到所有这些方法?

关于
cd/D“C:\”和&dir/S/A:-D“MicrosoftEdge.exe”“iexplore.exe”“chrome.exe”“firefox.exe”“launcher.exe”
等等呢?哦,我的上帝,谢谢你!它工作得非常好,并提供了所需的输出!甚至更短的
where/R C:\“MicrosoftEdge.exe”“iexplore.exe”“chrome.exe”“firefox.exe”“launcher.exe”
非常感谢!所有这些都帮了大忙!我建议您仔细阅读非常有用的内置帮助主题。对于@aschipfl和我自己发出的上述命令,打开
cmd
并键入
dir/?
where/?