中国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-08-13 06:42
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How to hide executed commands during DOS startup
Printable Version  955 / 6
Floor1 lmq Posted 2003-12-06 00:00
中级用户 Posts 86 Credits 420
Moderator:
Hello, I'd like to ask you: when DOS starts up it always shows it executing that command in AUTOEXEC。BAT. Is there any way to hide these steps? Please explain clearly.
Floor2 hunome Posted 2003-12-06 00:00
银牌会员 Posts 721 Credits 2,265
Add >nul after the command
Floor3 lmq Posted 2003-12-18 00:00
中级用户 Posts 86 Credits 420
Do you mean adding >NUL after every command that is executed?
Floor4 Wengier Posted 2003-12-18 00:00
系统支持 Posts 10,521 Credits 27,736
If you don't want to add >NUL after every command, try the CTTY NUL command.
Floor5 lmq Posted 2003-12-18 00:00
中级用户 Posts 86 Credits 420
Hello, Moderator:
After I add >NUL after the command, it only removes the prompt information, but it still shows things like:
a:\> ccdos.exe>nul. Is there any way to remove these lines too, so that after the batch file runs it directly shows a:\>, without showing those programs being executed in between? Please help.
Thank you
Floor6 hzy Posted 2003-12-19 00:00
高级用户 Posts 135 Credits 578
Did you add @echo off at the beginning of the batch file?
Floor7 lmq Posted 2003-12-19 00:00
中级用户 Posts 86 Credits 420
Thanks
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023