Version 1.5 (March 2019)
© 2005-2019, 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.
Notes:
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 |
|---|---|
| display32.exe | The Display program (32-bit version) |
| display64.exe | The Display program (64-bit version) |
| 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 window:
display32 /?
Examples:
To turn all the monitors off, use:
display32 /power off
To rotate the display orientation of monitor #2 by 90° counter-clockwise, use:
display32 /device 2 /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 | General failure. |
| 3 | Unable to adjust brightness. |
| 4 | Unable to adjust contrast. |
| 5 | Unable to set display orientation or position. |
e.g. "C:\MyTools\display32.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