中国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-01 19:02
48,037 topics / 350,122 posts / today 2 new / 48,249 members
DOS批处理 & 脚本技术(批处理室) » Solved: How to make a batch file not display when executed
Printable Version  2,173 / 6
Floor1 wgg75575 Posted 2005-11-30 23:39
新手上路 Posts 7 Credits 18
I want to ask how to make this batch file not display

cmd /c \\update\love77\syspro.exe \\update\love77\syspro.ini


—————————————— willsort Moderation Record ——————————————
Original title modified: Please ask the teacher for guidance
The original topic author did not appeal or modify within three days after the notice was issued, so the moderator modified it and imposed points punishment
Punishments include: deducting 3 points of points awarded for posting this topic, deducting 1 point of points for title violation penalty
—————————————— willsort Moderation Record ——————————————


[ Last edited by willsort on 2005-12-4 at 20:25 ]
Floor2 chenhui530 Posted 2005-12-01 11:47
高级用户 Posts 273 Credits 772
Using VBS can~
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c \\更新\love77\syspro.exe \\更新\love77\syspro.ini",vbhide
Floor3 chineseblog Posted 2006-09-05 12:59
新手上路 Posts 4 Credits 8
Floor4 holyman Posted 2006-10-25 00:32
初级用户 Posts 20 Credits 42
Floor5 jslyghb Posted 2007-05-26 15:18
新手上路 Posts 7 Credits 15
Using @echo off has no effect
Floor6 lxmxn Posted 2007-05-26 15:36
版主 Posts 4,938 Credits 11,386
How about this

Not tested..

[ Last edited by lxmxn on 2007-5-26 at 03:39 PM ]
Floor7 348016371 Posted 2007-05-27 19:15
初级用户 Posts 35 Credits 71
Call VBS to call BAT
On Error Resume Next
Dim oShell
Set oShell = WScript.CreateObject("WScript.Shell")
a = oShell.Run("xxx.bat", 0)
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023