回答編集履歴
1
追加
test
CHANGED
@@ -35,3 +35,13 @@
|
|
35
35
|
```
|
36
36
|
|
37
37
|
`foo.vbs`のパス名に空白がある場合は、`tokes=3`を調整要。
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
ちょっと乱暴ですが、KILLするのが目的なら、これもあり。`taskkill`でエラーが出るけど無視。
|
42
|
+
|
43
|
+
```CMD
|
44
|
+
|
45
|
+
for /f %%A in ('wmic process where ^(commandline like "%%wscript.exe%%foo.vbs%%"^) get processid') do taskkill /pid %%A 2>NUL
|
46
|
+
|
47
|
+
```
|