1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Directory listing that shows NTFS file descriptions?

Discussion in 'Support' started by ccb, Jan 7, 2012.

  1. ccb

    ccb

    Joined:
    Jul 13, 2009
    Messages:
    44
    Likes Received:
    0
    [C:\Program Files\JPSoft\TCMD13x64]
    >ver
    TCC 13.03.38 x64 Windows 7 [Version 6.1.7601]

    Is there a way, from the command line, to show a file's description?

    >dir /I"[?]*",
    shows which files have descriptions, but not the descriptions themselves.
    Thanks --
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Look at the PDIR command. This will list only files that have a description, with the description:

    pdir/i"[?]*"/(fn i)
     
  3. ccb

    ccb

    Joined:
    Jul 13, 2009
    Messages:
    44
    Likes Received:
    0
    Thanks.
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,730
    Likes Received:
    80
    You could also use DIR /Z, which will display the SFNs and descriptions. (There isn't any room on the line in an LFN directory listing for the descriptions.)
     

Share This Page