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 13:40
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Help! Dear experts, please help~ Regarding the problem of minimizing the DOS window! View 5,973 Replies 23
Floor 16 Posted 2004-08-12 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
1. Even if the reply explains it clearly, it doesn't mean the top post doesn't need to be modified, because your question is also valuable for others. 2. Your reply doesn't explain it clearly.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 17 Posted 2004-08-12 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
rasdial is a command provided by Windows XP/2003 (not sure if it exists in 2000, but it should be). It can be used to achieve dial-up internet access in command line mode (including ADSL virtual dial-up). Of course, by placing it in the startup group of XP, you can also achieve automatic dial-up when booting. Taking ADSL virtual dial-up as an example, let's explain the usage: Suppose the connection name of ADSL virtual dial-up is ADSL, and both the username and password are test. Then: rasdial adsl test test This command can directly connect for ADSL virtual dial-up. Create a batch file adsldial.cmd with the following content: @echo off
rasdial adsl test test
exit Then create a shortcut named autoadsldial for this batch file, modify the properties of the shortcut, set "Run style" to "Minimized", and then put this shortcut into the startup group of XP. Then when logging in at boot, this shortcut will run in window minimized mode, and you won't see the running window of this command on the desktop.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 18 Posted 2004-08-12 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Suggest the poster to modify the title to: How to minimize the batch command window when running under XP?
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 19 Posted 2004-08-12 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 132
Posts 13
Joined 2004-08-07 00:00
21-year member
UID 29802
Gender Male
Status Offline
Floor 20 Posted 2005-12-24 11:50 ·  中国 广东 东莞 联通
新手上路
Credits 4
Posts 2
Joined 2005-12-24 11:03
20-year member
UID 47770
Status Offline
After all, it's still using shortcuts, and this isn't something done by DOS.
----------------------------------------
Using start is okay, but you need two batch files because one has to call the other... It's not good either...
In a word, I'm confused
Floor 21 Posted 2006-04-12 13:32 ·  中国 上海 电信
新手上路
Credits 2
Posts 1
Joined 2006-04-12 13:29
20-year member
UID 53703
Status Offline
So can we go a bit further: instead of minimizing the window, run it in the background, not even visible on the taskbar? If it can automatically dial when booting and run automatically in the background, that would be great
Floor 22 Posted 2006-04-12 16:51 ·  中国 四川 绵阳 电信
高级用户
★★
Credits 587
Posts 282
Joined 2006-04-10 03:40
20-year member
UID 53599
Gender Male
Status Offline
Faint, XP/2003 can automatically connect virtual dial-up and such things originally. Is it necessary to make such a fuss?
Floor 23 Posted 2006-10-07 19:32 ·  中国 江苏 扬州 电信
中级用户
Credits 203
Posts 44
Joined 2003-08-14 00:00
22-year member
UID 8600
Gender Male
Status Offline
There are several methods to achieve it:
1. Add the /min parameter, that is, write like this in cmd:
start /min xxx.exe
But the /wait and /min parameters in the start command cannot be used at the same time, otherwise the /min is invalid;

2. Implement it with a VBS script
The script is as follows:
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C c:\1.bat", 0, TRUE)

3. Implement it with a third-party program, such as using HIDECMD.EXE, CMDOW.EXE
Floor 24 Posted 2006-11-01 13:56 ·  中国 重庆 璧山区 电信
中级用户
★★
Credits 235
Posts 109
Joined 2006-08-24 00:52
19-year member
UID 61161
Gender Male
Status Offline
Forum Jump: