- Nov
- 76
- 1
Hi all.
I'd like to know why %@EXECSTR generates a CLS before execution whenever it is invoked with a negative offset.
This is very annoying! And nothing can suppress this, not even >& NUL.
Any ideas?
x13
I'd like to know why %@EXECSTR generates a CLS before execution whenever it is invoked with a negative offset.
rem full result:
============================================
net statistics workstation
Workstation Statistics for \\this_pc
Statistics since 1 Apr 18.06
Bytes received 4805351517
Server Message Blocks (SMBs) received 345795
Bytes transmitted 9831079902
Server Message Blocks (SMBs) transmitted 345728
Read operations 110038
Write operations 18765
Raw reads denied 0
Raw writes denied 0
Network errors 0
Connections made 2
Reconnections made 0
Server disconnects 1
Sessions started 0
Hung sessions 4
Failed sessions 0
Failed operations 0
Use count 90
Failed use count 0
The command completed successfully.
============================================
rem works ok
echo %@execstr[net statistics workstation]
Workstation Statistics for \\this_pc
rem works ok
echo %@execstr[6,net statistics workstation]
Bytes received 4805351517
rem not ok!
echo %@execstr[-2,net statistics workstation]
***CLS***
The command completed successfully.
This is very annoying! And nothing can suppress this, not even >& NUL.
Any ideas?
x13