中国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-03 20:26
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Please clarify the specific batch command for which you want to find the parameters to hide the command window. Without a specific command mentioned, it's difficult to accurately provide the relevant parameters. Please provide more context about the particular batch command operation you are referring to.
Printable Version  1,955 / 9
Floor1 hjlali Posted 2006-12-01 10:50
初级用户 Posts 22 Credits 60
@echo off
xcopy c:\11\043dat \x:\043\dat /y

I remember there was a parameter to hide the window when this batch runs, but I forgot now. If anyone knows, please tell me the parameter, thanks!
Floor2 lxmxn Posted 2006-12-02 04:45
版主 Posts 4,938 Credits 11,386

  Try this:
Floor3 uemuem Posted 2006-12-07 23:30
初级用户 Posts 68 Credits 153 From 上海
Originally posted by lxmxn at 2006-12-2 04:45:

  Try this:

It can still be used like this, heh, learned it, but the @echo off will still pop up when executing it, right

[ Last edited by uemuem on 2006-12-7 at 11:39 PM ]
Floor4 lxmxn Posted 2006-12-08 03:43
版主 Posts 4,938 Credits 11,386
Actually, when running a .bat file, a window always pops up for a moment.
Floor5 YYDDOS Posted 2006-12-14 03:49
初级用户 Posts 16 Credits 38 From 乡下
Is there anything completely hidden?
Floor6 zjindong Posted 2006-12-15 14:22
初级用户 Posts 26 Credits 64
Floor7 htysm Posted 2006-12-19 04:26
高级用户 Posts 415 Credits 866
You can just create a shortcut to hide it.
Floor8 Chief Posted 2007-03-12 10:25
新手上路 Posts 7 Credits 16
Originally posted by htysm at 2006-12-18 03:26 PM:
You can hide it by creating a shortcut.

Can you be more specific?
Floor9 andysky Posted 2007-03-15 00:18
初级用户 Posts 21 Credits 50
Originally posted by hjlali at 2006-11-30 09:50 PM:
@echo off
xcopy c:\11\043dat \x:\043\dat /y

I would like to ask when the above batch processing is running, a window pops up. I remember that there was a parameter I could use to hide it before, but now I forget...

Making it into an EXE can completely hide it.
Please see my file for modifying the CPU type ------ modifying the BAT file into an EXE file

Attachments
CPU奔腾.part1.rar (97.66 KiB)
Floor10 andysky Posted 2007-03-15 00:20
初级用户 Posts 21 Credits 50
After merging and extracting, execute it, then right - click on your computer and select Properties to have a look.

Your computer's CPU type has been changed to Pentium 4 3.06Ghz, and it will revert after restart.

Clicking this file has no reaction, but the program is executing.

Attachments
CPU奔腾.part2.rar (17.9 KiB)
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023