Create Batch File To Open Multiple Desktop Applications In A Single Click
Most of us are likely to open certain desktop applications whenever we start working on our computer. The desktop applications that are usually opened depends on the nature of work (while using at office) and on mood of the user (while using it in home). In my case, I usually open Mozilla Firefox for internet surfing, MS Outlook for checking emails and MS Word for writing posts similar to this one.
Therefore, no matter wherever we are and for what purpose we have switched on our laptop, we are likely to open multiple files. Usually, one needs to open all files separately by clicking on their icon individually which can be a tedious task for the ones who need to open half a dozen desktop applications every time they switch on their computer.
Therefore, a better way of doing this would be finding a way through which you can open your desired programs and applications in a single click instead of opening them individually. You may be thinking that it is not possible because majority of the world opens all programs separately. However, it is not what you think.
Given is the method, divided in steps, which you need to follow once and after implementing it, you will no longer need to open multiple windows individually and you would be able to open all your routine applications in a single click.
Method To Opening Multiple Desktop Applications:
The only feasible and easiest way of opening multiple desktop applications in your computer is to create a Batch (.bat) file. However, it does not mean at all that you just need to save a file with (.bat) extension. There is a complete procedure that you will need to follow to create a desired Batch file capable of opening multiple programs at once.
Following are some required steps for creating a Batch file for this purpose.
Step#1: Opening Word Processor
The first and foremost is to open your desired word processor in your computer. However, in my case, it is suggested to open a basic word processor like Notepad having no complications that are usually seen in other available word processors.
Step#2: ‘Save As’ The Notepad File
Once you have opened the notepad file, now you will need to save it. However, here saving does not mean to save it using the ‘Ctrl+S’. Doing so will save it in its original format. Therefore, you need to open File tab from the tab bar of the notepad and select the ‘Save As’ option. When you will do it, it will show something like the given image.
Step#3: Change Extension and File Type:
As you can see, the file name is given with ‘.txt’ extension which is the default extension of notepad files. Therefore, you will need to change it to ‘.bat’ with a name before it –TestFile in my case. Along with changing the file extension and giving it a name, you would also need to change the file type from ‘Text Files’ to ‘All Files’ as done in the given figure.
Step#4: Start Writing The Code
Once you have carried out above steps carefully, now you will need to start writing code in it. When you begin writing code, you will need to enter the following two commands mentioned in the image as the remaining code will be entered in between these two lines.
Step#5: Select Target Location:
After entering the above two commands in your notepad file, now you would need to enter the code in between them. The code that you will need to enter in between these two lines is nothing but the target locations of the files that you want to open in a single click.
For this purpose, you will need to right click on that program and open its properties. When you will open the properties, there would be multiple tabs and one of them would be ‘Target’ as show in the given image.
Step#6: Entering Target Locations
After copying the targeted locations of your desired program, you need to paste it in your notepad, one by one.
Step#7: Save Notepad File
Do not forget to Save the notepad file. When you will close the notepad after saving it, you will see that your batch file will be created.
Now, you can simply open your Batch file instead of opening several desktop applications individually.