Jason Spence ([info]jspence) wrote,
I had to write this to help troubleshoot a problem someone was having:
@ECHO OFF
REM which.cmd -- emulate UNIX which(1) utility

if "%1"=="" goto err

for %%I in (%1) do echo %%~$PATH:I
goto out

:err
echo Usage: which FILENAME

:out

  • Post a new comment

    Error

    Your IP address will be recorded 

  • 0 comments
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…