bat file can not be fixed directly to the taskbar, but in order to facilitate the work or other reasons, we need to do so, this article is about how to bat file to the taskbar, to win10 example.
The first method: Use the link tool
1. Right-click on the taskbar, move to the toolbar, check the links
2, you'll see links typeface in the notification bar will bat file or a shortcut to drag and drop links at
3, click the ">>" will be able to see your bat, and you can click on the Run
The second method: using the cmd command
1, desktop, right, Create Shortcut, fill in the following diagram of an example of your bat file locations, such as cmd /cd:\go.bat (that is preceded by cmd / c, note the space)
2. When you finish creating, to create a shortcut, right-click, we can see that the option has been fixed to the taskbar
Side story:
JMeter made to remove the shortcut icon cmd command window
Open use jmeter:
Then after you use the default jmeter.bat start, then there will be a CMD command window launches jmeter working interface.
ApacheJMeter.jar enable direct file to skip the CMD command window jmeter start working interface.
The following is a desktop shortcut icon production steps:
1. Right-save icon to the local computer;
2. Right jmeter.bat, create a shortcut to the desktop;
3. Right jmeter.bat, click Properties, modify the path as follows:
Target: D: \ Tools \ apache-jmeter-3.3 \ bin \ ApacheJMeter.jar (The actual extraction path jmeter fill)
Start in: D: \ Tools \ apache-jmeter-3.3 \ bin (according to the actual extraction path jmeter fill)
Icon: D: \ Tools \ apache-jmeter-3.3 \ jemeter3.3.ico (based on actual icon to save the path to fill)
4. Click OK to complete the modification.
Jmeter desktop shortcut icons, open Jmeter never cmd command window it!