Skip to main content

Windows Command: where - Search for Files

where is used to search for files that match the search pattern.

By default, where search in the current directory and in the paths specified by the PATH environment variable.

C:\Users\Tuyen>where where
C:\Windows\System32\where.exe

C:\Users\Tuyen>
Examples using where command to search for mongo shell, nodejs, npm, nginx

Related article

Linux command: which

where /R C:\Users *.txt

Popular posts from this blog

[Powershell]: Get system information with systeminfo command

Get system information with systeminfo command 1. Create get-systeminfo.ps1 file Use notepad or any text editor to create get-systeminfo.ps1 # Description: powershell script to get computer's system information # get computer name $computername = gc env:computername # get year month date hour minute $today = (get-date).ToString("yyyyMMddHHMM") # get computer's system information systeminfo >> $computername-$today.txt # end of script 2. Create scheduled task to run get-systeminfo.ps1

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.

Bitnami: Notes

"Bitnami makes it easy to get your favorite open source software up and running on any platform, including your laptop, Kubernetes and all the major clouds."