- Aug
- 2,320
- 111
Using the command line;
...works as it should...
I can re-direct the file contents to tmp9:
...and verify that tmp9: now contains the contents of r:\results.txt
My end goal is to have the contents of the command line re-directed to tmp9:
So, I tried the following;
...but the redirection to tmp9: seems to be non-conformant...
Would appreciate if others could duplicate this,
to ensure that I am not missing something.
Joe
Ref: @TMP not returning contents
Code:
R:\>(for %pid in ( %@pid[msedge.exe,+] ) do echo %pid) > r:\results.txt
...works as it should...
Code:
R:\>type r:\results.txt
14868
15096
15328
15336
14676
14432
14036
15536
15724
15780
22392
19352
7668
22068
6464
5884
3944
13780
772
I can re-direct the file contents to tmp9:
Code:
\R:\>type r:\results.txt > tmp9:
...and verify that tmp9: now contains the contents of r:\results.txt
Code:
R:\>type tmp9:
14868
15096
15328
15336
14676
14432
14036
15536
15724
15780
22392
19352
7668
22068
6464
5884
3944
13780
772
My end goal is to have the contents of the command line re-directed to tmp9:
So, I tried the following;
Code:
R:\>(for %pid in ( %@pid[msedge.exe,+] ) do echo %pid) > tmp9:
...but the redirection to tmp9: seems to be non-conformant...
Code:
R:\>type tmp9:
1
R:\>tmp
TMP0:
TMP1:
TMP2:
TMP3:
TMP4:
TMP5:
TMP6:
TMP7:
TMP8:
TMP9: 1
Would appreciate if others could duplicate this,
to ensure that I am not missing something.
Joe
Ref: @TMP not returning contents
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 32.10.21 x64 Windows 10 [Version 10.0.19045.4651]