End micro-channel computer script to open

Sometimes we have multiple micro-letters, but the computer can only open a micro letter and other land, in order to solve this problem last year, wrote the following script:

echo ######################### computer micro-channel to open the script _peihp ################# ############  
echo Description: this script into the micro-channel installation directory, run the script after the carriage return to the plurality of open micro-channel 
echo ############# ################################################## #########

Find / I "WeChat.exe" | tasklist 
IF ERRORLEVEL% 0% EQU the taskkill / F / IM WeChat.exe / T 
SET. 3 NUM = 
number of micro-channel set / p num = "Please enter you want to open (default value Enter 2): " 
SET = 0 n- 
: Open 
SET / AN =% +. 1% n- 
IF ==%%% n-NUM% GOTO End 
Start WeChat.exe 
IF 9059 GOTO% ERRORLEVEL% EQU error 
GOTO Open 
: error 
path echo script is not correct, this script into the micro-channel installation directory 
pause 

:end 
exit

 

 

The script is the rapid utilization of the principle of multiple micro-channel execution of exe program. I do not understand how to get my students can download directly inside the download to use.

Guess you like

Origin blog.csdn.net/P876643136/article/details/93485839