![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 08:08 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » 【Help】Can batch processing change the screen resolution? |
| Printable Version 4,248 / 14 |
| Floor1 wf10000 | Posted 2007-04-22 11:15 |
| 新手上路 Posts 4 Credits 10 | |
|
I work in an internet café. Due to the nature of my job, I often encounter some problems. For example, Myth of the Realms cannot be windowed. There are no special window tools for Myth of the Realms online.
To achieve windowed mode, the resolution must be adjusted to above 1024*768. I found that 1280*1024 has the best windowed effect, but 1024*768 is the most popular resolution. What I want to do now is whether I can use a batch script to automatically modify the specified resolution (1280*1024)? After the customer opens it, the resolution can be modified, that is, the Myth of the Realms game runs in windowed mode? Thank you. I'm new here. I feel the learning atmosphere here is very good. |
|
| Floor2 wf10000 | Posted 2007-04-22 11:20 |
| 新手上路 Posts 4 Credits 10 | |
|
If any expert can do it, I'm sure it will be a great achievement. It's a problem that has troubled many network administrators...
Waiting for the expert. I'm a novice, learning... Good Good Study.Day Day Up. |
|
| Floor3 slore | Posted 2007-04-22 11:32 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Only write it in another language, then call it with P. It's impossible to do it alone with P.
|
|
| Floor4 wf10000 | Posted 2007-04-22 11:41 |
| 新手上路 Posts 4 Credits 10 | |
|
Oh?......I've always wondered if it can be done with P.
Unexpectedly, what seemed like a simple problem is so complicated..... |
|
| Floor5 ccwan | Posted 2007-04-22 22:38 |
| 金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊 | |
| Floor6 wf10000 | Posted 2007-04-23 11:56 |
| 新手上路 Posts 4 Credits 10 | |
|
Thank you, above!~~~
|
|
| Floor7 lxmxn | Posted 2007-04-23 12:22 |
| 版主 Posts 4,938 Credits 11,386 | |
|
I have a thought, that is to use a registry monitoring program like Regmon.exe to monitor registry behavior, then manually set the monitor resolution, and then look at Regmon.exe to see which registry key values are modified or created, and then write a batch script to modify the registry according to its characteristics. I wonder if this is feasible.
|
|
| Floor8 zh159 | Posted 2007-04-23 14:00 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
|
It is estimated that modifying the registry alone is useless (maybe restarting will be effective). Probably, some refreshing methods need to be enabled to switch the display.
|
|
| Floor9 everest79 | Posted 2007-04-23 14:02 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
|
The command-line tools are included in the graphics card driver package
|
|
| Floor10 dikex | Posted 2007-04-23 14:04 |
| 高级用户 Posts 366 Credits 788 | |
Originally posted by lxmxn at 2007-4-22 11:22 PM: Under the key value of two REG_DWORD types under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Control\VIDEO\{CA6A5C1F-A776-496E-9BD6-618B7DD56E5D}\0000: DefaultSettings.XResolution Horizontal direction DefaultSettings.YResolution Vertical direction |
|
| Floor11 everest79 | Posted 2007-04-23 14:09 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
Originally posted by dikex at 2007-4-23 01:04 AM: You can try to activate the automatic resolution setting or .inf operation, etc. under XP. |
|
| Floor12 vkill | Posted 2007-04-24 00:04 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
There are many external commands. It depends on whether you are willing to use them.
|
|
| Floor13 ekuqingren | Posted 2010-01-29 11:19 |
| 新手上路 Posts 1 Credits 1 | |
|
It seems it's okay. I downloaded it before. You can search on Baidu.
|
|
| Floor14 xykot | Posted 2010-02-20 17:02 |
| 新手上路 Posts 7 Credits 6 | |
| Floor15 756399151 | Posted 2010-12-17 13:38 |
| 新手上路 Posts 1 Credits 1 | |
|
If there is, help pass one 756399151@qq.com
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |