JSI Tip 9947. Which Hardware Abstraction Layer is installed on my computer?

I have scripted MyHal.bat to interrogate the "%systemRoot%\Repair\Setup.log" file for the HAL that is installed your computer.

The syntax for using MyHal.bat is:

MyHal

When I type MyHal, it returns:

"halacpi.dll"

MyHal.bat contains:

@echo off
setlocal
set file="%systemRoot%\Repair\Setup.log"
set find=Find /i "hal.dll"
for /f "Tokens=2 Delims=,= " %%a in ('type %file%^|%find%') do (
 @echo %%a
)
endlocal



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish