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-22 15:25
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Help! Dear experts, please help~ Regarding the problem of minimizing the DOS window! View 5,974 Replies 23
Original Poster Posted 2004-08-07 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
What command can minimize the started DOS window?? Thanks~ Waiting online!
Floor 2 Posted 2004-08-07 00:00 ·  中国 辽宁 抚顺 联通
银牌会员
★★★
Credits 1,186
Posts 510
Joined 2004-07-30 00:00
21-year member
UID 29279
Gender Male
Status Offline
In Windows, you can use ALT+ENTER
Floor 3 Posted 2004-08-07 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
Oh, I know this. I'm not using any key under WINDOWS, but want to make a batch file. Ask if there are any commands that can make the window minimize automatically when starting or run in the background, as long as it's not visible! Thanks.
Floor 4 Posted 2004-08-08 00:00 ·  中国 北京 东城区 联通
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
Create a shortcut, right - click **Properties**, in the **Program** section, set **Run** to **Minimized**.

Teamwork !
Floor 5 Posted 2004-08-08 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
The batch file I created, it seems like it can't be minimized?
Floor 6 Posted 2004-08-08 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
Why is there no one responding?
Floor 7 Posted 2004-08-09 00:00 ·  中国 北京 丰台区 联通
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
Create a shortcut for the batch file as well.

Teamwork !
Floor 8 Posted 2004-08-09 00:00 ·  中国 广东 广州 白云区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
START xxx /M 就可以,xxx是程序名。
START xxx /M is enough, where xxx is the program name.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 9 Posted 2004-08-10 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
Still don't understand! It seems I'm very stupid~ I have a program that automatically dials after booting. The program name is "aotolink.bat" and the storage path is in the startup! The content is "Rasdial ADSLsmn username password". Please help me do it! The requirement is to run automatically at boot and not be displayed on the desktop. Please help, thank you~~~
Floor 10 Posted 2004-08-10 00:00 ·  中国 福建 厦门 电信
系统支持
★★★
Credits 904
Posts 339
Joined 2002-10-10 00:00
23-year member
UID 1904
From 厦门
Status Offline
Try the method from Brother 8... Create Moden.bat and aotolink.bat in the same directory, create a shortcut of Moden.bat in the startup. The content of Moden.bat:
Start /B aotolink.bat
Floor 11 Posted 2004-08-11 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
/B?? Why is it /B one moment and /M the next?? Which one is it exactly?
Floor 12 Posted 2004-08-11 00:00 ·  中国 福建 厦门 电信
系统支持
★★★
Credits 904
Posts 339
Joined 2002-10-10 00:00
23-year member
UID 1904
From 厦门
Status Offline
Start another window to run a specified program or command.

START


"title" The title to display in the window title bar.
path Starting directory
B Starts the application without creating a new window. Unless
^C processing is started, the application ignores ^C processing;
^Break is the only way to interrupt the application
I The new environment is the original environment passed to cmd.exe,
instead of the current environment
MIN Window is minimized at start
MAX Window is maximized at start
SEPARATE Starts a 16-bit Windows program in a separate space
SHARED Starts a 16-bit Windows program in a shared space
LOW Starts the application in the IDLE priority class
NORMAL Starts the application in the NORMAL priority class
HIGH Starts the application in the HIGH priority class
REALTIME Starts the application in the REALTIME priority class
ABOVENORMAL Starts the application in the ABOVENORMAL priority class
BELOWNORMAL Starts the application in the BELOWNORMAL priority class
WAIT Starts the application and waits for it to end
command/program
If it is an internal cmd command or batch file, then the command processor is
Run cmd.exe with the /K command option. This means the window remains after the command runs
Still exists. If it is not an internal cmd command or batch file, it is a program, and
Run as a window application or console application. parameters These are the parameters passed to the command/program
If command extensions are enabled, external command calls through the command line or START command
Call will change as follows: Type the file name as a command, non-executable file can be called through file association.
(For example, WORD.DOC will call the application associated with the .DOC file extension).
For how to create these associations from within a command script, see ASSOC and
FTYPE command. When the executed application is a 32-bit GUI application, CMD.EXE does not wait for the application
The program terminates and returns to the command prompt. If executed within a command script, this new behavior
Then it doesn't happen. If the first symbol of the executed command line is a string without extension or path modifier
The string "CMD" will be replaced by the value of the COMSPEC variable. This
Prevents CMD.EXE from being picked up from the current directory. If the first symbol of the executed command line has no extension, CMD.EXE will use
The value of the PATHEXT environment variable determines the order in which which extensions to look for
Name. The default value of the PATHEXT variable is: .COM;.EXE;.BAT;.CMD Please note that this syntax is the same as the PATH variable, separated by semicolons. When looking for an executable file, if there is no matching extension, look at whether the name matches the directory name.
If so, START will call Explorer on that path. If executed from the command line, it is equivalent to CD /D on that path.

Take a look for yourself.........
Floor 13 Posted 2004-08-11 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
I have done as you said, but it still doesn't work. This time, after connecting, a DOS window still appears and I have to close it manually! The BAT I created has only one command, which is "Rasdial ADSLsmn username password" to establish the connection. After establishment, it should close automatically, but there is a window displayed in front during the establishment process, which I find uncomfortable! I don't want to see it! I have tried all the above methods, but it doesn't work! Could it be that I'm stupid?
Floor 14 Posted 2004-08-11 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Study the post in my signature carefully.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 15 Posted 2004-08-11 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
What I explained in my reply is clear enough!
Forum Jump: