中国DOS联盟论坛

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-11-17 15:03
47,820 topics / 349,938 posts / today 0 new / 48,295 members
其它操作系统综合讨论区 » Help! Dear experts, please help~ Regarding the problem of minimizing the DOS window!
Printable Version  6,875 / 23
Floor16 Climbing Posted 2004-08-12 00:00
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
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.
Floor17 Climbing Posted 2004-08-12 00:00
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
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.
Floor18 Climbing Posted 2004-08-12 00:00
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
Suggest the poster to modify the title to: How to minimize the batch command window when running under XP?
Floor19 smn9819 Posted 2004-08-12 00:00
初级用户 Posts 13 Credits 132
Floor20 nsdos Posted 2005-12-24 11:50
新手上路 Posts 2 Credits 4
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
Floor21 sunset1212 Posted 2006-04-12 13:32
新手上路 Posts 1 Credits 2
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
Floor22 xuantian Posted 2006-04-12 16:51
高级用户 Posts 282 Credits 587
Faint, XP/2003 can automatically connect virtual dial-up and such things originally. Is it necessary to make such a fuss?
Floor23 wjgyz740526 Posted 2006-10-07 19:32
中级用户 Posts 44 Credits 203
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
Floor24 qq82015930 Posted 2006-11-01 13:56
中级用户 Posts 109 Credits 235
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023