Score:-4

Using the desired resolution while running .bat files

cn flag

How can I run a windowed .bat file using the resolution I want using Wine in Ubuntu 20.04?

ar flag
Please [edit your question](https://askubuntu.com/posts/1390995/edit) and explain what resolution has to do with bat file, and what resolution you want? You may also want to copy and paste your bat file in the question. Format the pasted file as `code` using the {_} icon above the edit window.
Nuno Fonseca avatar
cn flag
What do you mean, "explain what resolution has to do with bat file"? I want to run a .bat file in 1024x768 instead of my default resolution (1920x1080). The game, the mod of which I play through that .bat file, isn't suited for a 16:9 display, but instead a 4:3. Ubuntu doesn't give me the option to change that (at least without some sort of workaround) In Windows it's VERY simple. Now I want to know if it's possible to specify a display resolution in which to run that executable.
ar flag
A bat file is a script that runs a series of commands in the command prompt. In general it does not have any GUI and no resolution. Without knowing what your bat file does, we can't answer your question. See [this page](https://www.makeuseof.com/tag/write-simple-batch-bat-file/) for more.
ar flag
Maybe this is what you are looking for: [Adjusting resolution for individual Wine programs](https://askubuntu.com/questions/16733/adjusting-resolution-for-individual-wine-programs).
ChanganAuto avatar
us flag
Please don't post duplicates (this is the third) [How do I specify a window resolution for my bat file?](https://askubuntu.com/questions/1390167/how-do-i-specify-a-window-resolution-for-my-bat-file)
Nuno Fonseca avatar
cn flag
I ALREADY told you "what it does". "The game, the mod of which I play through that .bat file". This is a .bat file I EXECUTE in order to play the game. It's an EXECUTABLE. Unless you're looking to tell me where to exactly insert the display resolution I want onto the .bat file, that link is useless, as is "Adjusting resolution for individual Wine programs", because that pertains to .exe, not .bat files, or I didn't understand how to use it.
Nuno Fonseca avatar
cn flag
wine explorer /desktop=MyMap,1024x768 "/media/nunovski2001/GST/Jogos/Europa Universalis 2/MyMAP/MyMap.bat" Can't recognize 'eu2.exe mymap' as an internal or external command, or batch scr ipt. make sure to press any key for back to EU2 original version. Press any key to continue... File not found.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.