- Aug
- 2,320
- 111
Joe
When I want access to the Zone.Identifier in a file, I can;
I can then export that to an .INI file;
Next, I use @INIREAD to extract info from the .INI file;
I would like to eliminate the export of the Zone.Identifier to an .INI file, and treat the Zone.Identifier as the .INI file, but info is not returned;
I may be wrong, but it would seem that the @INIREAD function does not have the ability to read an ADS stream.
I am presently using the @INIVALUE function from @Charles Dye's TextUtils Plugin, but it would be great for @INIREAD to also have this ability.
Would you please give @INIREAD the ability to read from an ADS stream.
Joe
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 27.00.18 x64 Windows 10 [Version 10.0.19042.746]
When I want access to the Zone.Identifier in a file, I can;
Code:
e:\downloads>type CPUSTRES.zip:Zone.Identifier
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://web.archive.org/web/20200720043437/http://download.sysinternals.com/files/CPUSTRES.zip
HostUrl=https://web.archive.org/web/20200720043437if_/http://download.sysinternals.com/files/CPUSTRES.zip
Code:
e:\downloads>type CPUSTRES.zip:Zone.Identifier > r:\test.ini
Next, I use @INIREAD to extract info from the .INI file;
Code:
e:\downloads>echo %@iniread[r:\test.ini,ZoneTransfer,ZoneId]
3
I would like to eliminate the export of the Zone.Identifier to an .INI file, and treat the Zone.Identifier as the .INI file, but info is not returned;
Code:
e:\downloads>echo %@iniread[CPUSTRES.zip:Zone.Identifier,ZoneTransfer,ZoneId]
ECHO is OFF
I may be wrong, but it would seem that the @INIREAD function does not have the ability to read an ADS stream.
I am presently using the @INIVALUE function from @Charles Dye's TextUtils Plugin, but it would be great for @INIREAD to also have this ability.
Would you please give @INIREAD the ability to read from an ADS stream.
Joe