Control panel applets

  • Thread starter Thread starter Alain Dekker
  • Start date Start date
A

Alain Dekker

I'm using Windows XP SP3. If I load the command prompt and navigate to
C:\Windows\system32, and then type this:
control.exe intl.cpl,,0
then the first tab of the Language and Regional Options loads.

If I type this:
control.exe intl.cpl,,1
then the 2nd tab loads.

Similarly "control.exe intl.cpl,,2" loads the 3rd tab.

I can also perform the same procedure on the "desk.cpl" applet for looking
at Desktop properties.

However, this is not working with the "Power Options" applet which is
powercfg.cpl. No matter what I do, it always only loads the first tab. Any
idea what is going on here?

Thanks,
Alain
 
Alain Dekker said:
I'm using Windows XP SP3. If I load the command prompt and navigate to
C:\Windows\system32, and then type this:
control.exe intl.cpl,,0
then the first tab of the Language and Regional Options loads.

If I type this:
control.exe intl.cpl,,1
then the 2nd tab loads.

Similarly "control.exe intl.cpl,,2" loads the 3rd tab.

I can also perform the same procedure on the "desk.cpl" applet for
looking at Desktop properties.

However, this is not working with the "Power Options" applet which is
powercfg.cpl. No matter what I do, it always only loads the first tab.
Any idea what is going on here?

The tabs are not indexed for the powercfg.cpl, so it will only go to the
first tab no matter what tab index number you use. That's the normal
behavior you are seeing.
 
OK, thanks. I guessed this after reading about Security Policy changes and
hardware differences that affect the Power Options applet. Based on the
policies and hardware in place, what is shown in Power Options is different.

Still, even if the tabs themselves are somewhat dynamic, it would have been
nice for the command line call into the CPL could have displayed the Nth tab
after working out what to display. If you're working on the same
hardware/policy all the time, you'd then get consistent results.

Thanks again :o)
Alain
 
Back
Top