- May
- 608
- 4
Here's what I found:
[C:\Program Files\JPSoft\TCMD10]echo %@winpid[Process Explorer*]
2244
That happens to be right. (It would be nice if the help file said that wild cards were allowed. )
[C:\Program Files\JPSoft\TCMD10]echo %@winpid[Process Explorer]
TCC: (Sys) The parameter is incorrect.
"%@winpid[Process Explorer]"
It would be better if @WINPID returned -1 if a window with a matching name is not found. Then it could be tested fairly easily as
SET MYWINPID=%@WINPID[My application title]
IF %MYWINPID LT 0 QUIT 3
or something like that.
I like most of the new features. (I don't dislike any of them.)
I look forward to a stable version -- I'll be able to remove a bunch of kludges I have in my batch files, mostly related to PIDs of other processes, testing if particular things are running, etc.
[C:\Program Files\JPSoft\TCMD10]echo %@winpid[Process Explorer*]
2244
That happens to be right. (It would be nice if the help file said that wild cards were allowed. )
[C:\Program Files\JPSoft\TCMD10]echo %@winpid[Process Explorer]
TCC: (Sys) The parameter is incorrect.
"%@winpid[Process Explorer]"
It would be better if @WINPID returned -1 if a window with a matching name is not found. Then it could be tested fairly easily as
SET MYWINPID=%@WINPID[My application title]
IF %MYWINPID LT 0 QUIT 3
or something like that.
I like most of the new features. (I don't dislike any of them.)
I look forward to a stable version -- I'll be able to remove a bunch of kludges I have in my batch files, mostly related to PIDs of other processes, testing if particular things are running, etc.