Custom Resolution when opening specific app

Status
Not open for further replies.

gardenman

Splendid
Moderator
Hi, welcome to TH.

NirCmd can change resolution. It's a command prompt program. Basically you run it like this:
Nircmd.exe setdisplay 800 600 32
Where 800 and 600 is the resolution and 32 is the color depth.
Download from bottom of page here: http://www.nirsoft.net/utils/nircmd.html

You could use a batch file to run the command before running a program. For example, type the following into Notepad and save it as RunNotepad.bat. Be sure you use compatible resolutions (with your GPU) in the examples I give below.

@echo off
c:\nircmd\nircmd.exe setdisplay 800 600 32
start notepad.exe


Of course you will have to use a different path depending on where you place Nircmd.exe. I placed mine in a C:\nircmd folder.

You could also have your batch file change resolution, run a program and wait for it to finish, then change resolution back to the original. Example batch:

@echo off
c:\nircmd\nircmd.exe setdisplay 800 600 32
start /wait notepad.exe
c:\nircmd\nircmd.exe setdisplay 1024 768 32


Afterwards, you can create a shortcut to the batch file and in the shortcut properties, set it run Minimized so it doesn't show the command prompt on the screen.
 
Status
Not open for further replies.