To the Top


Last Modified: October 30 2020 14:33:15
File:  root - programs - 80x86_batch - 2008 - 12 - which.bat
File Size: 0.31KB


  1. @echo off
  2. rem A Simple Which Utility on windows
  3. rem Zhihua Lai, 8-Dec-2008, Just for FuN.
  4. rem Windows 2000, XP, Vista
  5. if "%1"=="" goto usage
  6. for %%i in ("%path:;=" "%") do if exist "%%i\%1" call :ok %%i %1
  7. goto end
  8. :ok
  9. echo Find: %2 at %1
  10. goto end
  11. :usage
  12. echo %0 filename
  13. goto end
  14. :end
  15.  

Comments (0)

    Be the first one to comment this page !


Page Edited: May 11 2024 14:36:49 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />