Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if a file is a hidden or system file
Message
De
14/04/2005 13:27:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Checking if a file is a hidden or system file
Divers
Thread ID:
01004782
Message ID:
01004782
Vues:
55
Hello,
I am having so much trouble getting this to work, and it should be so easy..
        Dim Files() As String = System.IO.Directory.GetFiles(strPath, strPattern)
        Dim file As String

        For Each file In Files
             Dim fileDetails As System.IO.FileInfo = New System.IO.FileInfo(file)
             *ADD IF STATEMENT TO SEE INCLUDE ONLY FILES THAT ARE NOT HIDDEN OR SYSTEM
        Next
For some reason, I just can seem to get the syntax right to check to see if the file is hidden or system. Thanks for any help!!

-MAC
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform