Thread: File summary attributes

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    7

    Question File summary attributes

    How would one go about editing file summary attributes? i.e Title, Subject, Author, Comments, etc... Is there a class or standard function for accessing them?

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    52
    Most operating systems (OS) don't do file management to the
    level you are implying. To my knowledge, that is usually done
    by the word processor and written in the DOC's header.

    You can search the internet for file management systems. You
    might find what you are looking for.

    What OS are you refering to?
    Last edited by Ted; 05-22-2002 at 01:25 PM.

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    7
    The OS is windows2000...basically the application is creating Mpeg files. I have seen other simular apps that edit video files and there is usually a place you can enter in the info about author, subject, descriptions, etc... Then if you use windows explorer and check out the properties > summary tab, you can see the info about the file.
    What I would like to do is have that info entered when the user creates the file.
    I guess what I am looking at is:
    How does the OS determine the file summary?
    Is there a certain class that stores the info about a file?

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    52
    You have to study how Windows 2000 grabs the data to put in
    the summary.

    On the bottom of your screen click Start
    Click on Help
    Select the Index Tab
    Enter "properties, file properties"

    Read.

    You might find more answers to your questions at MSDN online.

    hth,

  5. #5
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    I believe the info is in the file itself. reminds me when I began creating MIDIs. comments I made would be implanted in the file towards the end so it would not be read when decoding (playing) the file. so for some MIDI files, try opening them under notepad and see for yourself. the same goes for mp3 file formats and some others. don't know about mpegs but I believe it follows like the rest.
    think only with code.
    write only with source.

  6. #6
    Registered User
    Join Date
    Jun 2005
    Posts
    4
    Did anyone was able to solve this problem?

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    There seems to be a rash of stupidity at the moment - people bumping threads which have been dead for YEARS.
    Read the bloody rules people!!!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Help Required!!!!!
    By bobthebullet990 in forum C Programming
    Replies: 14
    Last Post: 11-27-2005, 03:56 PM
  5. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM