DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: file attributes

  1. #1
    auto Guest

    file attributes


    Hi everybody,

    I need to obtain several attributes for any given file
    within a shared folder in my NT server. The attributes
    i'm looking for are the last accessed time, and the
    owner of the file.

    Thanx in advance for any help you may provide.

  2. #2
    Anand Guest

    Re: file attributes


    hi,
    1)You can use GetAttr to get file attributes like hidden/system etc.
    2)FileDateTime(filename) function will fetch you file's last created or modified
    date and time
    3)I dont know how to get owners' name.

    Anand

    "auto" <auto@bigfoot.com> wrote:
    >
    >Hi everybody,
    >
    >I need to obtain several attributes for any given file
    >within a shared folder in my NT server. The attributes
    >i'm looking for are the last accessed time, and the
    >owner of the file.
    >
    >Thanx in advance for any help you may provide.



  3. #3
    Dirk Van Genechten Guest

    Re: file attributes

    Set a reference to the Microsoft Scripting Runtime in your project.
    The you get access to the FileSyetmObject. That will give you everything you
    wanted.

    http://support.microsoft.com/support...?LN=EN-US&SD=g
    n&FR=0




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center