Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Use batch file to start multiple programs on Windows 11, 10...!


Start several programs at the same time via a batch file in order to save several clicks, is very popular on MS Windows 11, 10, ... desktop and server operating systems!



The solution is very simple with the start  command and is also well suited if you use the task scheduler to start and close programs automatically at a certain point in time . And since this is an old Windows function, this works in Windows 11 / 10 / 8.1 / 7 and should also work with all Microsoft Server versions 2019, 2016 to 2000 without having to resort to external third-party program start solutions !


Content:

1.) ... Here is a simple example of starting three programs at the same time!
2.) ... end all three at the same time with taskkill!
3.) ... What should I consider and what are the advantages and disadvantages?
4.) ... add batch file to autostart to save time?



See also: ►  ... Create computer keyboard shortcuts for all Windows OS!

1.) Here is a simple example of starting three programs at the same time!

Here the calculator is started, Internet Explorer with the instruction to open the page http://softwareok.de and the MS File Explorer with the program argument  "C:\Windows" so the Windows directory is opened at the start.

Please save the commands for testing, for example on the desktop as "Three_programs.bat" and simply test it.

(... see Image-1 Point 1 and 2)


cd %windir%\system32
start calc.exe
start iexplore.exe "http://softwareok.com"
start explorer.exe "C:\Windows"


Tip:

Create a new *.bat file Right click on the desktop "New"> "Text file" and rename the file extension to  .bat  , if the file extensions are not displayed:

►► Show file name extension in Windows 10, is that possible?


(Image-1) Batch file for starting several programs!
Batch file for starting several programs!

-
▲ Back to the top ▲


2.) End all three at the same time with taskkill!


All programs that can be started can also be forcibly closed, but as an example you can use the Taskkill command to do this, pay attention to the correct spelling of the programs, not that the wrong Windows program is terminated.

Here in the example I have added Start Explorer as the end command, because it is difficult to work without Explorer.

Please save the commands for testing, for example on the desktop, as "programs_kill.bat" and simply test it.

(... see Image-2 Point 1 and 2)

See ... File creation tip!



taskkill /IM iexplorer.exe /F
taskkill /IM calc.exe /F
taskkill /IM explorer.exe /F

start explorer.exe


(Image-2) Batch file for closing several programs and APPs!
 Batch file for closing several programs and APPs!

-
▲ Back to the top ▲



3.) What should I consider and what are the advantages and disadvantages?

With the command Task-kill it is possible to terminate almost all programs, for this reason the correct spelling of the programs must be observed. 

Wildly terminating the programs is not recommended without knowledge of Windows!

►►  Use taskkill correctly and sensibly with the Cmd.exe with examples?



Any suggestions for pairs of programs that you would use in a batch file like this one?

The batch file for starting several programs in autostart Windows 10 / 8.1 / 7!



What if you could open several programs with just one (double) click, then you can also use them to create programs via the Startup folder, or a shortcut to the batch file in the Startup folder! 

Here in the example I have simply copied it into the Windows Autostart folder, self-explanatory:

( ... see Image-3 Point 1 and 3 )

(Image-4) Use batch file to start multiple programs at MS Windows Start!
Use batch file to start multiple programs at MS Windows Start!


Create the batch file to start two, three or more specified programs at the same time. This tip also works in older versions of Desktop OS Windows and Microsofts Web Server 2019, 2016, .....

-
▲ Back to the top ▲




FAQ 44: Updated on: 1 July 2022 09:31 Windows
Windows-Console

Check if there is a file path via PowerShell?


The solution is very simple to use a command in PowerShell to check whether a file path or folder path is available The solution is very simple with the test-path command,
Windows-Console

How do I force a logoff via command line, Windows 11, 10, 8.1, .. and MS Server?


The solution is very simple, to force that the logoff is carried out via the command line under Microsoft Windows 11 / 10 / 8.1 / 7 If some programs have
Windows-Console

Create bootable USB stick with Windows, but how?


Creating a bootable USB stick as an installation medium for Windows is no magic Everyone comes to this point and wants a solution that is very simple to
Windows-Console

Command line to change the drive label of a drive!


The solution with the cmd.exe is very easy to change the drive designation of a drive via command line on all MS Windows OS Under Windows, you can easily
Windows-Console

Query startup programs via the command line or PowerShell!


You can create a list of programs via the cmd.exe command line or via PowerShell, which are started when Windows starts You can easily identify the programs
Windows-Console

Get a computer's MAC address, command line?


The solution is very simple to find out a MAC address of a computer in the network Not only under MAC / Linux you can quickly find out the so-called MAC
Windows-Console

How can I run commands in batch files at intervals?


The solution is very simple to execute commands in batch files at intervals to repeat them more often on Windows 11, 10, and MS Server  The solution

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. batch file to run multiple programs?
  2. Start batch file at specific times?
  3. Batch strate several applications at the same time?
  4. Two processes start with a batch file?
  5. Start batch file program?
  6. Do you have any nice ideas for other ways this batch file trick could work to launch multiple Windows programs with one click?
  7. Two processes start with one batch file?
  8. There are always a couple of programs that I open at the same time every time, or when I start my computer very helpful now all I have to do is change the batch file?
  9. Run multiple programs in batch file?
  10. Stack multiple applications at the same time?
  11. There are always a few programs I open at the same time every time, or when I start my computer very helpful I just need to change the batch file now?
  12. batch file run multiple programs?
  13. Start batch file at certain times?
  14. Batch several applications at the same time?
  15. There are always a few programs that I open at the same time every time, or when I start my computer very helpful now I just have to change the batch file?
  16. There are always a couple of programs that I open at the same time every time, or when I start my computer very helpful now I just have to change the batch file?
  17. Start the program with batch and continue?
  18. There are some programs that I always have to run together. For me it's Microsoft Word and Internet Explorer!
  19. Start program with batch and continue?
  20. Windows 7 batch file programs?
  21. Start several programs in batch file?
Keywords: windows, 11, 10, server, eleven, console, batch, file, start, multiple, programs, solution, time, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + ShortDoorNote
  + AutoHideDesktopIcons
  + BlankAndSecure
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PointerStick
  + DesktopImages3D
  + WinPing
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► What is the V-Sync button for in this 3D game? ◄

► Enable or disable AutoCorrect in Word? ◄

► New shortcut in Send-To? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....