scripts/OEMInformation.bat
2025-04-09 23:17:45 -05:00

22 lines
700 B
Batchfile

REM oem info script for tng
title OEM Info TNG
set /p manu=specify a computer manufacturer:
set /p model=specify a computer model:
set regfile=c:\irnh\oeminfogentmp.reg
echo creating reg file...
echo Windows Registry Editor Version 5.00 >> %regfile%
echo\ >> %regfile%
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation] >> %regfile%
echo "Manufacturer"="%manu%" >> %regfile%
echo "Model"="%model%" >> %regfile%
:: echo "Logo"="c:\\irnh\\deioxpy-crop-120.bmp" >> %regfile%
echo NH OEMInformation script was ran %date% %time% on %computername% with options %manu% %model% %logopath% >> c:\irnh\oeminfo_log.txt
echo done. now applying the changes
start %regfile%