CMD

How to Run Batch Files silently on Windows 10

How to Run Batch Files silently on Windows 10

Even though batch files are like vintage when it comes to operating systems, they are one of the best ways to get things done. If you are in a kind of work which asks you run some pre-defined commands every day, the console windows are annoying especially when you are sure they are perfect, and will not make any mistake. In this guide, we will learn how you can run Batch Files silently in background mode and hide the Console Window.

Run Batch Files silently on Windows

If you have a simple batch file that you want to run, you can create another batch file, and type in the command as below

START /MIN CMD.EXE /C mysecondbatchfile.bat

There are two ways to execute it.

Run batch files silently using a Scheduled Task

Windows has tons of features which are not used. The Task Scheduler is one of them. This feature allows you to run tasks in the background, periodically or every day. You can easily schedule a Batch file to run automatically using Scheduled Task with options available out of the box.

Here is the procedure to use it.

Run Batch Files silently & hide the console window using freeware

1] Hidden Start or HStart

It's a lightweight command line utility that allows you to run console applications and batch files without any window, in the background. It can even handle UAC privilege elevation and also run multiple commands in parallel or in sync. The program offers a user interface which makes it easy to set things.

You can download from here.

2] SilentCMD

If you are comfortable with command line, i.e., typing and using a command prompt, SilentCMD offers tons of features and does our job as well. You can type in SilentCMD [path to .bat file] [arguments], and it gets the job done, quietly. Additionally, you can log in the output and errors into a text file.

SilentCMD [BatchFile [BatchArguments]] [Options] Options: /LOG:file :: output status to LOG file (overwrite existing log) /LOG+:file :: output status to LOG file (append to existing log) /DELAY:seconds :: delay the execution of batch file by x seconds

You can download it from Github.

Make an executable file from a Batch Script

Executables are probably the best way to run batch files along with an option to hide your script from everyone else. There are many options available to make an executable file from a Batch Script and making an EXE is very simple.  However, if your antivirus catches it, make sure to mark it safe as you are only using it for personal use.

Check out our detailed posts on the following subjects:

Incidentally, Slimm Bat To Exe Converter offers three types of mode including express, windowless, and custom.  You can download it from Softpedia.

These should be enough for you to create and run Batch Files silently on your Windows 10 PC. However, always test it before making them run quietly. You never want to lose your data because you didn't test something properly.

Battle for Wesnoth Tutorial
The Battle for Wesnoth is one of the most popular open source strategy games that you can play at this time. Not only has this game been in developmen...
0 A.D. Tutorial
Out of the many strategy games out there, 0 A.D. manages to stand out as a comprehensive title and a very deep, tactical game despite being open sourc...
Unity3D Tutorial
Introduction to Unity 3D Unity 3D is a powerful game development engine. It is cross platform that is it allows you to create games for mobile, web, d...