惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - shf

很好的网站www.laiwurencai.com 完全图解scrollLeft,scrollWidth,clientWidth,offsetWidth 获取相对途径,滚动图片(网上找的,未经试验,但觉得比较好) 如何分辨别人的网站是伪静态还是纯静态 操作系统添加账号并隐藏 搞不清FastCgi与PHP-fpm之间是个什么样的关系(转载) 研发费用资本化 调节利润 ps中如何用抽出功能扣取头发 加计扣除是什么意思 研发费用调整利润 在ps中画两个同心圆并且把两个同心圆进行任意角度切割 将通讯录导入到摩托罗拉A1800通讯录中 Word2003和2007前几页不显示页码的设置方法 设定某个时间打开某个网页 windows 2003 Server系统Web上传文件不能超过200K的解决方法 c#后台调用前台js方法 根据端口查找是那个程序正在占用 - shf 独门绝技:一招克死所有病毒(转贴,没有用过) 两个独立静态htm页面间的传值 - shf 一个非常好的效果
bat文件加入计划任务scheduled tasks
shf · 2011-10-13 · via 博客园 - shf

有个bat文件需要每天定时运行,正常运行没有问题,加入scheduled tasks后,居然没有反应。

  查了很多资料,最后找到一个解决方案。

  把bat文件用winRAR做成自解压文件.EXE格式,并设定解压后执行bat,然后把该自解压文件加入scheduled tasks。

  步骤一:右击bat文件,选择add to achive

  步骤二:在右下角achiving options中,点选create SFX achive

  步骤三:点winRAR的菜单Advanced,点选SFX options

  步骤四:设置SFX的相关属性

      a.设置解压路径。点General,Path to Extract中,输入解压后存放的文件夹;

      b.设置自动运行程序。点General,Setup Program中,在Run after Extraction中,填写对应的bat文件名;

      b.设置解压模式。点Modes,设置silent mode->Hide all,Overwrite Mode->Overwrite all files.

   步骤五:设置完上述属性后,点击OK,就可以生成.EXE文件

   步骤六:将.EXE文件加入scheduled tasks,设置好运行账户和时间,就可以按时执行了。

   此方案纯属曲线救国政策,为啥不能直接在schedule tasks中执行bat文件,我还是没弄明白。