运行时最小化的批处理文件和Firefox [英] minimize a batch file and firefox while running

查看:251
本文介绍了运行时最小化的批处理文件和Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上午tryinging创建将被Windows任务调度安排一个批处理文件
。这里是我的code

Am tryinging to create a batch file that will be scheduled by windows task scheduler .here is my code

start /min test.bat
"C:\Program Files\Mozilla Firefox\firefox.exe"  -tray
TASKKILL /F /IM cmd.exe

然而,在任务scheduller会导致无限期地运行,这是不desireable.My的目标是运行Firefox和最小化的CMD中的错误运行此。
使用这种code。与任务调度工作原理

however running this in task scheduller causes a bug that runs indefinately which is not desireable.My goal is to run the firefox and the cmd minimized. Using this code with task scheduler works

"C:\Program Files\Mozilla Firefox\firefox.exe"  -tray
 TASKKILL /F /IM cmd.exe

精细不过Firefox和CMD不minimized.What我做错了什么?有没有tweek以防万一呢?

fine however the firefox and cmd are not minimized.What am i doing wrong?is there a tweek arround it?

推荐答案

您可以acctually通过使用外部命令行tool.Its它的工作原理是charm.Here所谓的NirCmd做,这是一个我是如何做到的nircmd.exe赢隐藏进程firefox.exe这里是其使用的的NirCmd DOC

You can acctually do this by using an external command line tool.Its called nircmd at it works like charm.Here is a how i did it "nircmd.exe" win hide process "firefox.exe" here is a complete doc on its usage nircmd doc

这篇关于运行时最小化的批处理文件和Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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