如何隐藏批处理文件的命令提示符 [英] How to hide command prompt for batch file

查看:130
本文介绍了如何隐藏批处理文件的命令提示符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行一些命令,并在资源管理器中打开某些文件的批处理文件。我希望发生这些动作,而无需打开任何命令提示符。是否可以?如果是这样,怎么样?

I have a batch file that runs some commands and open some files in explorer. I want to happen these actions without opening any command prompt. Is it possible? If so, how?

我不使用任何其他脚本一样VBS。
先谢谢了。

I'm not using any other scripts like vbs. Thanks in advance.

推荐答案

如果可能的话,修改批处理文件来运行任何与启动命令程序。默认情况下,开始立即返回,而无需等待程序退出,所以该批处理文件将立即继续运行,并且presumably,退出。夫妇,与修改您的快捷方式运行批处理文件最小化的,你只能看到任务栏闪光灯,甚至没有看到一个窗口在屏幕上。

If at all possible, modify the batch file to run whatever program with the start command. By default, start returns immediately without waiting for the program to exit, so the batch file will continue to run and, presumably, exit immediately. Couple that with modifying your shortcut to run the batch file minimized, and you’ll only see the taskbar flash without even seeing a window onscreen.

这篇关于如何隐藏批处理文件的命令提示符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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