Get the App
SLTechnology News&Howtos  ›  Development  › 

How to keep the bat runtime from popping out the black box

Shulou Source: shulou.com Published: 2022-06-03 08:36:39 10月02日 Update

This article mainly introduces "how to make bat run without popping up black box". In daily operation, I believe that many people have doubts about how to make bat run without popping out black box. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "how to make bat run without popping out black box". Next, please follow the editor to study!

Save it as run.vbs and run it. You must have 1.bat.

The code is as follows:

Set ws = CreateObject ("Wscript.Shell")

Ws.run "cmd / c 1.bat", 0

Ws.run "cmd / c 1.bat", 5

1.bat function deletes junk files on disk c

The code is as follows:

@ echo off

Del c:\ windows\ * .log / s

Del c:\ windows\ * .tmp / s

Del c:\ windows\ * .txt / s

At this point, the study on "how to make the bat runtime do not pop out of the black box" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Run frame learn code more help practical next function garbage files articles methods theory knowledge articles websites materials follow questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Apple Shulou Technology Linux Huawei