thanks
Screen Resolution from command line
Started by
codecraig
, Aug 15 2005 10:18 AM
#1
Posted 15 August 2005 - 10:18 AM
thanks
#2
Posted 15 August 2005 - 12:09 PM
U can export from the registry. The default path where screen resolution is located is: HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{Address of Video Card (Some no.)}\0000. The values 'DefaultSettings.XResolution' and 'DefaultSettings.YResolution'.
But sometimes ur Video manufacture driver installtion removes these vaules and its own values somewhere else in the registry, if this is the case u will have to look for the values in ur registry.
Use the following command and the values in the key will be exported to c:\tmp.txt:
U may change the desired path. Also if the resolution values are located somewhere else (which ur manufature's driver instalaltion has changed), U will have to find where the values are located and use the appropriate path in command.
But sometimes ur Video manufacture driver installtion removes these vaules and its own values somewhere else in the registry, if this is the case u will have to look for the values in ur registry.
Use the following command and the values in the key will be exported to c:\tmp.txt:
.regedit /e c:\tmp.txt "HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000"
U may change the desired path. Also if the resolution values are located somewhere else (which ur manufature's driver instalaltion has changed), U will have to find where the values are located and use the appropriate path in command.
Edited by darth_ash, 15 August 2005 - 12:11 PM.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users