Hi @Tian ,
You can consider using some code like this:
For Each T As String In TL
Dim myProcess As Process = New Process()
myProcess.StartInfo.UseShellExecute = True
myProcess.StartInfo.FileName = T
myProcess.Start()
Thread.Sleep(3000)
myProcess.Kill()
Next
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.