![]() |
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-12 00:48 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » How to hide the window when the bat command runs |
| Printable Version 1,396 / 11 |
| Floor1 schy235 | Posted 2009-05-09 07:07 |
| 新手上路 Posts 7 Credits 7 | |
|
I saw this command before but forgot it!
When running a BAT batch file (Windows system), a DOS black screen window will appear! But for some reason, I don't want it to appear! The command is probably! cmd "height 0" "width 0" Experts, please give me some advice! |
|
| Floor2 313885174 | Posted 2009-05-09 11:28 |
| 中级用户 Posts 100 Credits 206 | |
| Floor3 313885174 | Posted 2009-05-09 11:44 |
| 中级用户 Posts 100 Credits 206 | |
|
mode con cols=20 lines=5
|
|
| Floor4 netbenton | Posted 2009-05-09 12:28 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
| Floor5 Jneny | Posted 2009-05-09 13:08 |
| 高级用户 Posts 318 Credits 686 | |
| Floor6 schy235 | Posted 2009-05-20 00:34 |
| 新手上路 Posts 7 Credits 7 | |
| Floor7 schy235 | Posted 2009-05-20 00:48 |
| 新手上路 Posts 7 Credits 7 | |
|
Floor 2: What I'm talking about is when running a bat batch file!! It doesn't display!! The black and white DOS window
Floor 3: Thank you, I was looking for this sentence! But why doesn't it work when it's 0!! Floor 4: Where do you use that! It doesn't seem to work in BAT!! Floor 5: The command on that website you mentioned, how do you use it! It can't be used in BAT. And that BQT hiding, can't download it. Please, experts, give more guidance! |
|
| Floor8 dnntgmfd | Posted 2009-05-20 06:47 |
| 初级用户 Posts 52 Credits 85 From 湘乡 | |
|
mode con: width and height seem to not be able to be zero
|
|
| Floor9 schy235 | Posted 2009-05-20 07:34 |
| 新手上路 Posts 7 Credits 7 | |
|
This used to work!
But it doesn't work now! Do you know any way to do it? |
|
| Floor10 dnntgmfd | Posted 2009-05-25 02:27 |
| 初级用户 Posts 52 Credits 85 From 湘乡 | |
|
What I collected from the Internet before: echo exit|%ComSpec% /k prompt e 100 B4 00 B0 12 CD 10 B0 03 CD 10 CD 20 $_g$_q$_|debug>nul
|
|
| Floor11 schy235 | Posted 2009-05-27 06:56 |
| 新手上路 Posts 7 Credits 7 | |
|
Thank you for your guidance. But your this command seems to be full screen!
|
|
| Floor12 dnntgmfd | Posted 2009-05-28 02:56 |
| 初级用户 Posts 52 Credits 85 From 湘乡 | |
|
Really sorry, the owner, didn't see your requirements clearly.
Is this okay? Just the scucopy.vbs file needs to be run twice to delete. @if exist scucopy.vbs @goto findusb1 @echo Set ws = CreateObject("Wscript.Shell")>scucopy.vbs @echo ws.run "cmd /c scucopy.bat",vbhide >>scucopy.vbs @start scucopy.vbs&&exit :findusb1 del scucopy.vbs (Add content here) Also, please let the expert take a look |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |