This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
setlocal ENABLEEXTENSIONS | |
set IE11Maximized=2C0000000200000003 | |
set KEY_NAME="HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" | |
set VALUE_NAME=Window_Placement | |
:: REG QUERY "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v Window_Placement | |
for /f "usebackq tokens=3" %%A in (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) do ( |