China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 08:48
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Solved] Please give some guidance on how to use batch processing to achieve resolution change View 17,780 Replies 65
Floor 46 Posted 2008-05-03 11:34 ·  中国 湖北 咸宁 电信
新手上路
Credits 5
Posts 3
Joined 2007-12-27 14:28
18-year member
UID 106935
Gender Male
Status Offline
Why is it still not possible to download?
Floor 47 Posted 2008-05-11 15:34 ·  中国 浙江 宁波 象山县 电信
初级用户
Credits 35
Posts 17
Joined 2008-05-11 15:01
18-year member
UID 118414
Gender Male
Status Offline
Floor 48 Posted 2008-05-11 19:35 ·  中国 湖北 武汉 电信
新手上路
Credits 6
Posts 6
Joined 2008-05-11 19:07
18-year member
UID 118436
Gender Male
Status Offline
Let me download and try it
Floor 49 Posted 2008-08-15 22:57 ·  中国 山西 朔州 电信
新手上路
Credits 2
Posts 1
Joined 2006-10-22 11:49
19-year member
UID 67704
Gender Male
Status Offline
Floor 50 Posted 2008-08-17 16:18 ·  中国 陕西 汉中 电信
新手上路
Credits 2
Posts 1
Joined 2008-08-17 15:58
17-year member
UID 123413
Gender Male
Status Offline
Thank you, the thread starter, forever
Floor 51 Posted 2008-08-22 09:50 ·  中国 广东 广州 鹏博士宽带
高级用户
★★★
Credits 740
Posts 373
Joined 2008-05-23 14:40
18-year member
UID 119498
Gender Male
From 中国,广东
Status Offline
```
:menu
@echo off
SETRES h640 v480 b16 f60
cls
echo Screen Resolution Change Program
echo --------------------------------------------------
echo.
echo 800x600 16bit 60hz
echo 1024x768 16bit 60hz
echo 1440x960 16bit 60hz
echo 1600x1200 16bit 60hz
echo Exit
echo.
set /p xz= Please select:
if /i '%xz%' == 'a' goto 800
if /i '%xz%' == 'b' goto 1024
if /i '%xz%' == 'c' goto 1440
if /i '%xz%' == 'd' goto 1600
if /i '%xz%' == 'q' goto end
goto menu

:800
SETRES h800 v600 b16 f60
goto end

:1024
SETRES h1024 v768 b16 f60
goto end

:1440
SETRES h1440 v960 b16 f60
goto end

:1600
SETRES h1600 v1200 b16 f60

:end
exit


Is this my thinking possible?

[ Last edited by driver1998 on 2008-8-22 at 10:04 AM ]
```
别看我是高级用户,其实菜鸟一个,^-^
Floor 52 Posted 2008-08-23 15:30 ·  中国 广东 东莞 电信
新手上路
Credits 4
Posts 2
Joined 2008-08-20 12:09
17-year member
UID 123669
Gender Male
Status Offline
Not bad, but I tried it and it didn't work.
Floor 53 Posted 2008-08-24 07:38 ·  中国 北京 鹏博士BGP
新手上路
Credits 2
Posts 1
Joined 2008-08-24 07:17
17-year member
UID 124014
Gender Male
Status Offline
Floor 54 Posted 2008-08-28 11:07 ·  中国 广东 广州 鹏博士宽带
高级用户
★★★
Credits 740
Posts 373
Joined 2008-05-23 14:40
18-year member
UID 119498
Gender Male
From 中国,广东
Status Offline
Originally posted by 56113312 at 2008-8-23 03:30 PM:
Not bad, but I tried, it didn't work


Did you put SETRES in the directory where the BAT is located?
别看我是高级用户,其实菜鸟一个,^-^
Floor 55 Posted 2008-08-29 08:29 ·  中国 陕西 西安 电信
新手上路
Credits 2
Posts 1
Joined 2008-08-29 03:14
17-year member
UID 124450
Gender Male
Status Offline
Floor 56 Posted 2008-09-13 17:43 ·  中国 广东 惠州 电信
新手上路
Credits 2
Posts 1
Joined 2007-04-06 01:25
19-year member
UID 84110
Gender Male
Status Offline
Let me take a look
Floor 57 Posted 2008-09-16 23:39 ·  中国 浙江 嘉兴 桐乡市 电信
新手上路
Credits 2
Posts 1
Joined 2006-10-19 19:42
19-year member
UID 66967
Status Offline
This seems to be some random, non - meaningful text. Since there's no specific relevant technical or meaningful content in Chinese to translate, just return the original text as it is.

sadfasdfsadfsadfffffffff
Floor 58 Posted 2008-09-17 09:29 ·  中国 广东 肇庆 德庆县 电信
初级用户
★★
Credits 152
Posts 74
Joined 2005-12-01 23:06
20-year member
UID 46314
Status Offline
I originally also wanted to write one, but now there's a ready-made one. I'm too lazy to write it. Thanks.
Floor 59 Posted 2008-09-17 10:15 ·  中国 广东 肇庆 电信
中级用户
★★
Credits 206
Posts 103
Joined 2008-05-06 16:59
18-year member
UID 117911
Gender Male
From 广东 肇庆
Status Offline
Floor 60 Posted 2008-09-17 12:34 ·  中国 安徽 安庆 电信
新手上路
Credits 16
Posts 8
Joined 2008-09-17 12:09
17-year member
UID 125852
Gender Female
Status Offline
55555555555555
I clicked to download SETRES.rar, and the system prompted a CGI/PHP program error: The actual user ID cannot be changed! What should I do?
Forum Jump: