scripting Taskbar autohide in XP?

@rem the REG QUERY command:

REG QUERY hkey_current_usersoftwaremicrosoftwindows
currentversionexplorerstuckrects2

@rem SAYS: ! REG.EXE VERSION 3.0

@rem SAYS: HKEY_CURRENT_USERsoftwaremicrosoftwindows

currentversionexplorerstuckrects2
@rem SAYS: Settings REG_BINARY
28000000FFFFFFFF03000000030000006B000000
1E000000FEFFFFFFE40200000204000002030000

@rem NOTE: notice the 03h after the 28000000FFFFFFFF?
@rem NOTE: it shows the autohide setting, I want 02!
@rem NOTE: The REG ADD command can change the 03 to 02 after the 28000000FFFFFFFF

REG ADD hkey_current_usersoftwaremicrosoftwindows

currentversionexplorerstuckrects2 /v settings /t REG_BINARY /d
28000000FFFFFFFF02000000030000006B000000
1E000000FEFFFFFFE40200000204000002030000

@rem ASKS: Value settings exists, overwrite(Y/N)? y

@rem ASKS: The operation completed successfully

@rem IMPORTANT: Now you need to kill and start Explorer.exe using the

Task Manager

Advertisements

~ by nambabwe on 2008/03/05.

 
%d bloggers like this: