Hacker News new | ask | show | jobs
by anadem 2365 days ago
cat e.bat

  @echo %~f0
  @if %1. == . goto simple
  @rem explorer /e, %1
  explorer /e, %1
  @goto done
  :simple
  explorer /e,.
  :done
open Explorer from cmd prompt, either where you are or where you want it