如何在给定的系统时间运行exe文件 [英] how to run exe file at given system time

查看:150
本文介绍了如何在给定的系统时间运行exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生,

我想运行Windows应用程序的exe文件,该文件应在给定的特定系统时间自动运行.
请给我一些想法..

谢谢您

Respected sir,

I want to run exe file of my windows application which should run automatically at given particular system time.
Please help me by giving idea for this..

thank you

推荐答案

使用计划任务,您可以计划任何脚本,程序或文档在最方便的时间运行.计划任务每​​次启动Windows XP时都会启动,并在后台运行,它会在您创建任务时指定的时间启动计划的每个任务.


使用计划任务

若要打开计划任务,请单击开始",单击所有程序",指向附件",再指向系统工具",然后单击计划任务".

计划新任务:
双击添加计划任务"以启动计划任务向导",然后在第一个对话框中单击下一步".
下一个对话框显示作为Windows XP操作系统的一部分或由于软件安装而在计算机上安装的程序的列表.

使用以下过程之一:
如果列出了要运行的程序,请单击该程序,然后单击下一步".
如果要运行未列出的程序,脚本或文档,请单击浏览",单击要计划的文件夹和文件,然后单击打开".
键入任务的名称,然后选择以下选项之一:
每日
每周
每月
仅一次
我的计算机启动时(在用户登录之前)
当我登录时(仅在当前用户登录后)

单击下一步",指定有关运行任务的日期和时间的信息,然后单击下一步".

请注意,有关运行任务的日期和时间的信息因您在上一个向导对话框中所做的选择而异.例如,如果选择每周",则必须指明星期几,时间,以及是否应该每周,每两周,每三周等等执行任务.
输入与此任务相关联的用户的名称和密码.确保您选择的用户具有足够的权限来运行该程序.默认情况下,向导会选择当前登录的用户的名称.
单击下一步",然后在确认所做的选择后单击完成".

[ ^ ]
With Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. Scheduled Tasks starts every time that you start Windows XP and runs in the background, and it starts each task that you schedule at the time that you specify when you create the task.


Using Scheduled Tasks

To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.

To schedule a new task:
Double-click Add Scheduled Task to start the Scheduled Task Wizard, and then click Next in the first dialog box.
The next dialog box displays a list of programs that are installed on your computer, either as part of the Windows XP operating system, or as a result of software installation.

Use one of the following procedures:
If the program that you want to run is listed, click the program, and then click Next.
If you want to run a program, script, or document that is not listed, click Browse, click the folder and file that you want to schedule, and then click Open.
Type a name for the task, and then choose one of the following options:
Daily
Weekly
Monthly
One time only
When my computer starts (before a user logs on)
When I log on (only after the current user logs on)

Click Next, specify the information about the day and time to run the task, and then click Next.

Note that the information about the day and time to run the task vary depending on the selection that you made in the previous wizard dialog box. For example, if you chose Weekly, you must indicate the day of the week, the time, and if the task should run every week, every 2 weeks, every 3 weeks, and so on.
Type the name and password of the user who is associated with this task. Make sure that you choose a user with sufficient permissions to run the program. By default, the wizard selects the name of the user who is currently logged on.
Click Next, and then click Finish after you verify the choices that you have made.

Source[^]


这篇关于如何在给定的系统时间运行exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆