Thread: File properties...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    241

    Question File properties...

    Does anyone know how to access the properties of a file with a C++ program? I am basically just trying to make a program that runs hidden and compares the size of my files and the date modified and stuff. Also, how can a program be made to run hidden?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> access the properties of a file with a C++ program

    More a case of the operating system. On Windows, you there are a number of API functions you can use to get extended information about files, GetFileSize(), GetFileAttributesEx() are two you could use for your requirement.

    It'll be different under Linux, Unix, DOS, (probably), etc...

    >>> how can a program be made to run hidden?

    Again, depends on the OS and also, how hidden?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    241
    well I have XP Pro

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  3. multiple file loading. so fruturated! help!
    By psychopath in forum Game Programming
    Replies: 5
    Last Post: 05-09-2005, 05:13 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM