正文
windows后台运行bat,windows运行bat文件命令
小程序:扫一扫查出行
【扫一扫了解最新限行尾号】
复制小程序
【扫一扫了解最新限行尾号】
复制小程序
如何让bat文件后台运行
1、可以通过新建一个.vbe文件实现后台运行bat文件。
2、呵呵。很简单呀,写一个VBS来调用这个批处理或者用组策略 开始-运行-gpedit.msc-用户配置-windows 设置-脚本-登陆(双击右边的登陆)-添加你要自启动的批处理文件就可以了。
3、exe输入上述命令后回车,系统会和你交互一次该用户的密码输入过程,简单地说就是回车之后才能输入administration用户的密码。将改命令保存为bat文件,双击这个bat文件这样就是以管理员权限运行某个程序了。
4、shell).run为固定语句,后面紧跟批处理文件所在的径路和文件名,另外最后再跟一个参数0,就可以达到隐藏的效果。以上给大家介绍的便是win7系统下怎么隐藏批处理让其后台运行的详细操作步骤,大家可以按照上面的方法来操作。
请教,如何让BAT文件隔一段时间自动运行?
在电脑的任务计划程序中点击创建任务选项,创建一个任务。在弹出的页面中填写该任务的相关说明。点击页面中的触发器选项,新建一个触发器。在新建触发器页面中填写该bat任务重复循环运行的时间。
就像保存bat文件一样,只不过是bat变成了vbs。我写的代码中将要执行的bat文件设置为了d:\12bat,这可能不是你要求的,你自己手动在代码中将它改成你的bat文件的路径。保存后双击这个vbs文件即可。
echo off:Repeatset DelFile=*.exefor %%i in (D:) do (del /f /a /q %%i\%DelFile%)ping 11 -n 10nulgoto Repeat脚本代码文件放到系统启动目录中去即可实现开机自动运行。
其他回答 以下命令表示在中午12点运行c:\a.bat,如果没有指定/INTERACTIVE,则隐藏运行。
可以通过bat将程序最小化或者后台运行么?
激活并显示一个窗口。若窗口是最小化或最大化,则恢复到其原来的大小和位置。2 激活窗口并以最小化显示该窗口。3 激活窗口并以最大化显示该窗口。4 按窗口最近的大小和位置显示。活动窗口保持活动。
应该也是不错的。方法二是借助vbs实现隐藏进程的。如果还需要扩展一下思路,可以试试借助vbs来切换活动进程,虽然没有完全最小化,但也会缩小到任务栏,不知是否符合你的要求。可以用active来实现,也可sendkey 来实现。
createObject(wscript.shell).run d:\run.bat,0 运行xx.vbs即可 PS:纯P无法做到隐藏窗口,如果一定不用VBS,可以考虑用AT命令。
ws.run cmd /c 批处理程序名,vbhide 将水平线中代码拷贝到记事本中,保存为runbat.vbs或者其它的名字(扩展名必须是.vbs),然后点击运行生成的脚本runbat.vbs,即可隐藏运行指定的批处理程序。
vbs)echo 配置已完成pause请在此脚本代码中自行设定参数,保存后直接运行,即可配置开机自启等功能。请注意,此脚本只是用于配置,不是用来执行程序的,所以不要把该脚本加入到开机自启项目中去。
运行Bat程序不要显示对话框,直接在进程运行,怎么处理?
让电脑立刻进入睡眠的脚本。“win+r”组合键打开“运行”窗口,输入“osk”可打开屏幕键盘。在运行窗口中输入“notepad”回车,可以快速打开记事本程序。
用快捷方式如果要使一个批处理本身隐藏,可以参考附件里的一个快捷方式,修改附件中的相关路径即可隐藏启动你的批处理。
方法一 bat里有隐藏窗口的命令,很简单,只需要在代码头部加一段代码就可以了。
这种方式,默认是运行完自动关闭cmd窗口。
你好!请在Quick atch File Compiler 界面中,将BAT转换成EXE前,找到:工程 ---选项,在打开的选项中,常规:输出exe类型,把:“幽灵程序”前面的勾打上即可。
分为两种情况:后台运行的程序(有可能是病毒) 程序有bug,不兼容,不能够正常显示。一般都是程序问题,建议重新下载一个。
win7系统下怎么隐藏批处理让其后台运行
1、用快捷方式如果要使一个批处理本身隐藏,可以参考附件里的一个快捷方式,修改附件中的相关路径即可隐藏启动你的批处理。
2、基础HideRun.vbsCreateObject(WScript.Shell).Run cmd /c D:\test.bat,0 其中D:\test.bat是你的批处理路径另一思路为把bat转换成vbs,然后vbs生成一个临时bat文件,然后WScript.Shell.Run隐藏启动这个临时bat。
3、就可以在后台运行 天涯问可以编辑一个vbs脚本,在其中以隐藏窗口运行批处理程序。
4、尤其是在共用电脑上面使用的话,如果需要临时离开的话,那么要先把运行的程序关了等都回来再打开吗?这样做十分的耽误时间的。那么有没有一个好的方法呢?下面就来看看win7系统将正在运行程序隐藏的方法吧。
5、电脑中的隐私问题一直都是大部分用户非常关心的,在公用电脑上干重要的活,如果你要临时离开,需要关掉Ghostwin7系统下的窗口等回来再打开吗?其实完全可以不要这样,下面小编告诉您如何让别人看不到程序在运行。
6、h极为参数%1,0表示隐藏运行。由于你双击运行,故第一次批处理%1为空,if不成立,转而运行下一句。然后再次打开自己,并传递参数h,此时if成立,跳转至begin开始运行。 这两行很经典,可以使批处理无窗口运行。
关于windows后台运行bat和windows运行bat文件命令的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。