NirCmd Command Reference - setdisplay

setdisplay {monitor:index/name} [width] [height] [color bits] {refresh rate} {-updatereg} {-allusers}
Changes your display settings. The [width] and [height] parameters represents the number of pixels on your screen. The [color bits] parameter represents the number of colors shown on your screen (8 - 256 color, 16 - 16bit color, 24 - 24bit color, and so on). {refresh rate} is an optional parameter that specifies the monitor refresh rate. If you specify the {-updatereg} parameter, the new settings will be saved in the Registry. If you specify both {-updatereg} and {-allusers} parameters, the new settings will be saved in the Registry for all users.
If you have multiple monitors, you can use the optional monitor parameter, which specifies for which monitor you want to change the display settings. You can specify the monitor by index (0 for the first monitor, 1 for the second one, and so on) or by specifying a string in the system monitor name. The monitor name can be found in the Device manager of Windows: Right click on the monitor item, and then choose 'Properties'. The string displayed in the 'location' field is the monitor name.
Example:
setdisplay 800 600 24 -updatereg
setdisplay 1024 768 24 90
setdisplay 1024 768 8
setdisplay monitor:1 1024 768 24 90
setdisplay monitor:name1 1024 768 24 90

Other commands:
abortshutdownbeepcdromchangeappvolumechangebrightness
changesysvolumechangesysvolume2clipboardclonefiletimecloseprocess
cmdshortcutcmdshortcutkeycmdwaitconsolewriteconvertimage
convertimagesdebugwritedlgdlganyelevate
elevatecmdemptybinexecexec2execmd
exitwinfilldeletegachibernateinetdial
infoboxinidelsecinidelvalinisetvalinitshutdown
killprocesslockwsloopmediaplaymemdump
monitormovecursormultiremotemuteappvolumemutesubunitvolume
mutesysvolumeparamsfileqboxqboxcomqboxcomtop
qboxtoprasdialrasdialdlgrashangupregdelkey
regdelvalregeditregsetvalregsvrremote
restartexplorerreturnvalrunassavescreenshotsavescreenshotfull
savescreenshotwinscreensaverscreensavertimeoutscriptsendkey
sendkeypresssendmouseservicesetappvolumesetbrightness
setconsolecolorsetconsolemodesetcursorsetcursorwinsetdefaultsounddevice
setdialuplogonsetdisplaysetfilefoldertimesetfiletimesetprimarydisplay
setprocessaffinitysetprocessprioritysetsubunitvolumedbsetsysvolumesetsysvolume2
setvolumeshellcopyshellrefreshshexecshortcut
showsounddevicesspeakstandbystdbeepsysrefresh
trayballoonurlshortcutwaitwaitprocesswin

NirCmd Web Page

Download NirCmd

NirSoft Web Site