NTFS Descriptions (content plugin)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Temp package
(X64)
uvviewsoft.com/bb/ . 'll put source after TC8 Final.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

You can consider my package as official. Led hasn't wish to do.
woxinbuji
Junior Member
Junior Member
Posts: 8
Joined: 2011-11-23, 02:48 UTC

Post by *woxinbuji »

Could I export the data in streams(such as comment) to a txt file?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

With some extern tools. dont know which
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

TJean
Junior Member
Junior Member
Posts: 3
Joined: 2007-03-21, 17:49 UTC

Help: How Is NTFS_Diz Evoked?

Post by *TJean »

It seems that I installed NTFS_Diz correctly, since it is recognized by TC in the Plugins tab of the Find Files dialogue box. However, I cannot discover how to use it to view or edit NTFS alternate data streams. For example, no new item appears in any of the drop down menus, and choosing Properties after right clicking a file name does not seem to show any information from NTFS_Diz. Is there some keystroke, such as Ctrl+PageDown that will display NFTS stream data for whatever file currently is selected? Thanks!
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

2TJean
Custom columns/custom tooltip to view. Menu Files/Change Attributes to change.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: NTFS Descriptions (content plugin)

Post by *byblo »

I found out that the main file date is still changed to current time, despite the ini entry KeepTime=1 when you delete a stream file from it (Enter an empty value to erase the selected stream)

Checked the code and it seems correct, the date is supposed to be restored after the file is erased. So not sure what is going on. Maybe too fast to restore the date after erasing a stream file?

Code: Select all

  if KeepTime then
    begin
      fHan:= FileOpen(fn, fmOpenRead or fmShareDenyNone);
      fDate:= FileGetDate(fHan);
      FileClose(fHan);
    end;

  AssignFile(f, fn + ':' + sStreams[FieldIndex]);
  Rewrite(f);
  if IOResult<>0 then
    begin
      Result:= FT_FILEERROR;
      Exit
    end;
  Write(f, FieldValue);
  Close(f);
  if length(FieldValue) = 0 then
    begin
     Erase(f);
     Result:= FT_SETSUCCESS;
     Exit
    end;

  if KeepTime then
    begin
      fHan:= FileOpen(fn, fmOpenWrite or fmShareDenyNone);
      FileSetDate(fHan, fDate);
      FileClose(fHan);
    end;
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: NTFS Descriptions (content plugin)

Post by *tuska »

Since Everything 1.5.0.1264a (Alpha) from 18.6.2021 there is the possibility to use NTFS_Diz comments also in the tool 'Everything'.
If NTFS_Diz comments are indexed in the tool 'Everything', search results can be obtained in real-time.

Thus, it is possible to perform a search query in Total Commander using 'Everything' for NTFS_Diz comments.

From here on, there are detailed instructions including setting parameters and image description
for both Total Commander and 'Everything'.

[Option:
If you scroll down a bit in the forum post in 'Everything',
there is an example for the query of document properties (e.g. comments).]


Windows 10 Pro (x64) Version 21H1 (OS build 19043.1055) | TC 10.00 x64/x86
'Everything' 1.5.0.1264a (x64) | Search queries: TC <=> 'Everything'
Post Reply