Windows batch files run in the background and require a piece of code to be added to the header.
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
::here are your codes below
Read More:
- Running bat batch file in background
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.
- PHP in Windows combined with bat batch processing to achieve multi process verification proxy server function
- Windows batch script opens hosts
- Windows Java application startup batch script
- Running course of Kafka in Windows Environment
- Adding prefixes to file names in batch by shell under mac
- Bash modifies the file names in the specified folder through MAC terminal (batch modification)
- Batch modification of file names on MAC Linux rename command line
- Error = 2, no such file or director is prompted in the lower left corner of the MAC pycharm running file
- raise ValueError(‘Expected input batch_size ({}) to match target batch_size ({}).‘
- The bash file written by windows runs in Linux system error
- Some solutions to the problem of windows flashback after vs running
- Error in installing pywin32 under Windows: close failed in file object D estructor:sys.excepthook is missing lost sys.stderr
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- Error report of windows system running UMI project
- Visual studio 2012, a complete collection of solutions to flash back windows after running
- [Android] button uses the custom drawable file to set the background, and runs “error inflating class button”
- Running trust error reporting linker ‘link. Exe’ not found on Windows
- Memory leak in Windows 8.1 with Killer E2200 and Windows Network Data Usage Monitoring