Tuesday, August 5, 2014

How to change theme by command line windows xp to classic theme

  • by create chtheme.js it content follow texts


    // FILE: theme.js

    // DESCRIPTION: automatically set the Windows theme


    // create shell object

    objShell = new ActiveXObject("WScript.Shell");

    // start themes applet, load desired theme, and activate this window

    objShell.Run('rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"C:\\WINDOWS\\Resources\\Themes\\Windows Classic.theme"',1);

    // wait for themes window


    // send the 'enter' key to accept this theme


ที่มา - น่าจะเป็น stackoverflow.com ลืมจดไว้ขอโทษแหล่งอ้างอิงด้วยนะครับ

No comments:

Post a Comment

Popular Posts