China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 20:07
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Solved: How to make a batch file not display when executed View 2,174 Replies 6
Original Poster Posted 2005-11-30 23:39 ·  中国 江苏 连云港 电信
新手上路
Credits 18
Posts 7
Joined 2005-11-23 01:00
20-year member
UID 45757
Status Offline
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 ]
Floor 2 Posted 2005-12-01 11:47 ·  中国 重庆 巴南区 电信
高级用户
★★
Credits 772
Posts 273
Joined 2004-10-23 00:00
21-year member
UID 32861
Gender Male
Status Offline
Using VBS can~
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c \\更新\love77\syspro.exe \\更新\love77\syspro.ini",vbhide
http://www.msfans.net/bbs/
Floor 3 Posted 2006-09-05 12:59 ·  中国 上海 普陀区 电信
新手上路
Credits 8
Posts 4
Joined 2006-09-04 14:24
19-year member
UID 61835
Status Offline
Floor 4 Posted 2006-10-25 00:32 ·  中国 上海 徐汇区 电信
初级用户
Credits 42
Posts 20
Joined 2006-10-24 22:47
19-year member
UID 68095
Gender Male
Status Offline
Floor 5 Posted 2007-05-26 15:18 ·  中国 江苏 连云港 电信
新手上路
Credits 15
Posts 7
Joined 2007-05-25 18:08
19-year member
UID 89294
Gender Male
Status Offline
Using @echo off has no effect
Floor 6 Posted 2007-05-26 15:36 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline
How about this
cmd /c \\更新\love77\syspro.exe \\更新\love77\syspro.ini >nul 2>nul

Not tested..

[ Last edited by lxmxn on 2007-5-26 at 03:39 PM ]
Floor 7 Posted 2007-05-27 19:15 ·  中国 福建 厦门 电信
初级用户
Credits 71
Posts 35
Joined 2007-05-27 17:58
19-year member
UID 89485
Gender Male
Status Offline
Call VBS to call BAT
On Error Resume Next
Dim oShell
Set oShell = WScript.CreateObject("WScript.Shell")
a = oShell.Run("xxx.bat", 0)
Forum Jump: