Jump to content

WhiteMouse

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by WhiteMouse

  1. Me and a buddy are working on a project for school. The guidelines for the project was our choice of manipulating

    windows in some way. BTW the class is Computer Securities.

    We want to move the Windows Taskbar from its default position to the right, up top, to the left, then to the bottom again in a loop only using a .bat file w/ out restarting the computer. We've tried changing the registry file HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\TaskbarWinXP then restarting the explorer, but it isn't working.

    @echo off
    echo Windows Registry Editor Version 5.00 >> up.reg
    echo. >> up.reg
    echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop] >> up.reg
    echo "Toolbars"=hex:11,00,00,00,00,00,00,00 >> up.reg
    echo "TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,01,00,00,00,00,00,00,00,aa,4f,28,68,\ >> up.reg
    echo 48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,0c,03,00,00,e0,0c,00,00,00,00,00,00,1e,\ >> up.reg
    echo 00,00,00,00,00,00,00,00,00,00,00,1e,00,00,00,00,00,00,00,01,00,00,00 >> up.reg
    start "D:\Documents and Settings\student\Desktop\up.reg"
    taskkill /f /Im explorer.exe
    explorer.exe

    to get the right info for the registry file, we moved the bar manually then restarted the comp, and then got the correct hex out of it.

    I guess my questions would be is this the correct file to change for what we want and what errors do you guys see in the above code. BTW the code is for moving the taskbar to the top.

    Thx for your help.

×
×
  • Create New...