![]() |
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-10 15:17 |
47,811 topics / 349,897 posts / today 0 new / 48,255 members |
| 其它操作系统综合讨论区 » Help! Dear experts, please help~ Regarding the problem of minimizing the DOS window! |
| Printable Version 6,152 / 23 |
| Floor1 smn9819 | Posted 2004-08-07 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
What command can minimize the started DOS window?? Thanks~ Waiting online!
|
|
| Floor2 wchong | Posted 2004-08-07 00:00 |
| 银牌会员 Posts 510 Credits 1,186 | |
|
In Windows, you can use ALT+ENTER
|
|
| Floor3 smn9819 | Posted 2004-08-07 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
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.
|
|
| Floor4 nre | Posted 2004-08-08 00:00 |
| 银牌会员 Posts 361 Credits 1,210 | |
|
Create a shortcut, right - click **Properties**, in the **Program** section, set **Run** to **Minimized**.
|
|
| Floor5 smn9819 | Posted 2004-08-08 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
The batch file I created, it seems like it can't be minimized?
|
|
| Floor6 smn9819 | Posted 2004-08-08 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
Why is there no one responding?
|
|
| Floor7 nre | Posted 2004-08-09 00:00 |
| 银牌会员 Posts 361 Credits 1,210 | |
|
Create a shortcut for the batch file as well.
|
|
| Floor8 JonePeng | Posted 2004-08-09 00:00 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
|
START xxx /M 就可以,xxx是程序名。
START xxx /M is enough, where xxx is the program name. |
|
| Floor9 smn9819 | Posted 2004-08-10 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
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~~~
|
|
| Floor10 autoit | Posted 2004-08-10 00:00 |
| 系统支持 Posts 339 Credits 904 From 厦门 | |
|
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 |
|
| Floor11 smn9819 | Posted 2004-08-11 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
/B?? Why is it /B one moment and /M the next?? Which one is it exactly?
|
|
| Floor12 autoit | Posted 2004-08-11 00:00 |
| 系统支持 Posts 339 Credits 904 From 厦门 | |
|
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......... |
|
| Floor13 smn9819 | Posted 2004-08-11 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
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?
|
|
| Floor14 Climbing | Posted 2004-08-11 00:00 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
Study the post in my signature carefully.
|
|
| Floor15 smn9819 | Posted 2004-08-11 00:00 |
| 初级用户 Posts 13 Credits 132 | |
|
What I explained in my reply is clear enough!
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |