where.bat used to find the specified file in PATH list
@echo off
:: parameter handle
if "%1"=="" goto :usage
:: echo full path
set FULLPATH=%~$PATH:1
if "%FULLPATH%"=="" (echo Could not find files for the given pattern^(s^).) else (echo %FULLPATH%)
:: goto end
goto :end
:usage
echo where.bat used to find the specified file in PATH list
echo Usage : where filename.ext
echo.
:end