关于Win2000下用at命令添加计划任务(在线等!)

dosenzh 2003-10-20 01:07:21
我的操作系统是Win2000Pro,我用at命令添加了一个新的计划任务,设在某时间运行,但是到点了系统毫无反应啊,根本不运行。可是在控制面版-计划任务-添加计划任务窗口中添加就有效,这是怎么回事呢??怎么才能用at命令让其正常运行呢??各位高手指点指点小弟吧~~~~~~~~~~~
...全文
302 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
w20011025 2010-05-27
  • 打赏
  • 举报
回复
LZ,没仔细看命令行

AT
 /interactive:当程序执行时是否与正在登录的用户桌面进行交互。
dosenzh 2003-10-22
  • 打赏
  • 举报
回复
批处理也试过了,还是后台运行,我怀疑他根本就没有运行吧,而且添加的进程在任务管理器里还无法终止,怎么回事?郁闷ing……

to luckufo:
难道必须用工具吗……
luckufo 2003-10-21
  • 打赏
  • 举报
回复
C:\>net time \\127.0.0.1 (假设时间为11.00)
C:\>at \\127.0.0.1 11:05 wolf.exe(wolf为一黑客软件)
C:\>telnet 127.0.0.1 3389()假设你已经把一些后门程序考过去,且开了3389)
接下来你看着办把!
ravenkatte 2003-10-21
  • 打赏
  • 举报
回复
把命令写在一个批处理里面,比如将"E:\Program Files\Winamp\Winamp.exe"这段文字写到1.bat文件中,然后在at中就执行1.bat,比如at 15:00 "E:\1.bat"
dosenzh 2003-10-21
  • 打赏
  • 举报
回复
是这样,我用at命令随便加了一个任务(比如:winamp),但是时间到了,Winamp并没有运行,打开任务管理器,能看到Winamp.exe的进程。难道计划任务只能后台运行吗?怎么才能实现类似于手动打开Winamp等程序的效果啊?各位赐教!
spoce 2003-10-20
  • 打赏
  • 举报
回复
路过,学习中。。。。
caiyi0903 2003-10-20
  • 打赏
  • 举报
回复
1.在“设置”“控制面板”“服务”中启动Schedule服务,并将其启动方式属性设置为自动。
  2.在命令窗口中使用AT命令设置服务程序的定时启动关闭。
  AT命令的格式如下:
  AT [\\computername] time [/interactive] [/every:date[,]|next:date[,]] ″command″
  参数含义:
  无参数:显示所有已设置的计划命令情况。
  \\computername:指示执行该命令的计算机名,如省略则在本机执行。
  time:命令执行时间
  /interactive:当程序执行时是否与正在登录的用户进行交互。
  /every:date[,]:指定程序执行的日期(如每周二、三:/every:T,W),每月1,2号:/every:1,2)。
  next:date[,]:指定程序下一次执行的日期。
  ″command″:定时执行的Windows NT命令,程序,批处理。
  AT [\\computername] [[id][/delete][/yes]]
  参数含义:
  id:分配给计划命令的识别号码,可由不带参数的AT命令查到。
  /delete:取消指定的计划命令,如果id省略的话,取消所有的计划命令。
  /yes:强制对所有的取消询问回答yes。
  如每日19:00启动,次日7:30关闭RAS服务的命令如下:
  AT 19:00 /every:M,T,W,Th,F,S,Su net start ″remote access server″
  AT 7:30 /every:M,T,W,Th,F,S,Su net stop ″remote access server″
dosenzh 2003-10-20
  • 打赏
  • 举报
回复
自己up!
dosenzh 2003-10-20
  • 打赏
  • 举报
回复
我是在本机上试验的,帮助和我的问题没什么关系,我已经用at成功建立了新的计划任务,即已经可以在控制面版-计划任务窗口中看到我建的计划任务,但是就是不运行,奇怪!!怎么办啊~哪为大哥给解决一下,最好有个例子!
jml_boy 2003-10-20
  • 打赏
  • 举报
回复
你是本地还是远程?
bandrui 2003-10-20
  • 打赏
  • 举报
回复
楼上。
学习
ravenkatte 2003-10-20
  • 打赏
  • 举报
回复
查看帮助啊:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\ravenkatte>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.


E:\Documents and Settings\ravenkatte>

6,849

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧