Version 1.2 (April 2014)
© 2005-2014, Noël DANJOU
All rights reserved.
Table of Contents |
---|
Welcome |
Package Contents |
Syntax |
Return Codes (ERRORLEVEL) |
How To... |
History |
Latest Version |
Redistribution |
Contact Details |
Display (formerly Display Power Management) is a small command-line tool that allows you to either change display orientation or to change the brightness or the contrast of a specified display device (if supported by the display driver and the system) or to turn the monitors or the screen saver on and off to save power.
The package is provided as a compressed (zip) archive that holds a few files. The included files are described in the table below.
File | Description |
---|---|
display.exe | The Display program. |
readme.htm | This file. |
Display features many parameters, for a whole list of the supported parameters and a description, type the following command in a Command Prompt:
display /?
Examples:
To turn the default monitor off, use:
display /power:off
To rotate the default display orientation by 90° counter-clockwise, use:
display /rotate:90
When Display is used in a batch file, you can use ERRORLEVEL to check the completion code returned by the program. The possible return codes are listed in the table below.
Code | Description |
---|---|
0 | Success. |
1 | Syntax error or help/registration information displayed. |
2 | Failure, new mode could not be set. |
e.g. "C:\Users\UserName\Desktop\display.exe" /rotate:90 /toggle
Note: quotes are required if the path contains blanks.
The latest version of Display is always available for download from this address:
Computer magazine publishers are welcome to redistribute the application as-is on their complimentary or monthly CDs. Any other redistribution of the application with commercial products is strictly forbidden without my written permission. Please contact me for a license agreement (see Contact Details).
E-mail: webmaster@noeld.com
Website: noeld.com