|
HAT
版主
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第
16 楼』:
除了13楼的VBS可以用隐藏的方式运行之外
还可以为批处理创建一个快捷方式
然后schedule这个快捷方式
|
|
2007-6-15 20:30 |
|
|
HAT
版主
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第
17 楼』:
使用at命令添加的计划任务也可以隐藏运行
|
|
2007-6-15 20:31 |
|
|
joshualaw
初级用户
积分 132
发帖 62
注册 2007-6-5
状态 离线
|
『第
18 楼』:
能否详细告知我怎样用at命令吗
|
|
2007-6-15 22:06 |
|
|
HAT
版主
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第
19 楼』:
//能否详细告知我怎样用at命令吗
rem 下午1点15分运行
at 13:15 C:\test.bat
Quote: | C:\>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run. |
|
|
|
2007-6-15 23:49 |
|
|
joshualaw
初级用户
积分 132
发帖 62
注册 2007-6-5
状态 离线
|
『第
20 楼』:
我想在网络上以“cdghua******"开头所有电脑上,每天每隔10分钟重复运行 C:\test.bat 批处理,请用AT命令帮我完成,先谢啦
|
|
2007-6-16 10:19 |
|
|
joshualaw
初级用户
积分 132
发帖 62
注册 2007-6-5
状态 离线
|
『第
21 楼』:
Quote: | Originally posted by lililulula at 2007-6-15 04:34 PM:
保存为vbs脚本运行即可
[ Last edited by lililulula on 2007-6-15 at 04:35 PM ] |
|
用vbs脚本可实现,谢了,但现有一问题请教,假设vbs脚本有问题的话,当我运行vbs脚本时,会自动弹出一个带有“Windows 脚本宿主“标题的错误对话窗口,上面有些提示信息,请问能否有办法不让这一个带有“Windows 脚本宿主“标题的错误对话窗口出现呢?请赐教
|
|
2007-6-16 20:46 |
|
|
wudixin96
银牌会员
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
|
2007-6-16 20:54 |
|
|
joshualaw
初级用户
积分 132
发帖 62
注册 2007-6-5
状态 离线
|
『第
23 楼』:
看了那些后似乎还是不能解决,不要让带有“Windows 脚本宿主“标题的错误对话窗口出现,各位高手请给我把代码写在这吧,
[ Last edited by joshualaw on 2007-6-19 at 11:32 PM ]
附件
1: error windows.JPG (2007-6-19 23:30, 23.03 K,下载次数: 2)
|
|
2007-6-18 14:12 |
|