Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set fs = CreateObject("Scripting.FileSystemObject")
Set rep=fs.getDocument(filename)
txt=""
for each fich in rep.files
txt=txt & chr(10) & fich.name & " (créé le " & left(fich.DateCreated,8) & ")"
next
MsgBox txt,,"liste des fichiers du répertoire " & rep.name
Dim fso, f_file
set fso = CreateObject("Scripting.FileSystemObject")
Set f_file = fso.GetFile(filename)
ShowFileInfo = "Fichier Modifié: " & f_file.DateCreated
MsgBox(ShowFileInfo)
Sub File_Info()
Dim fso As New FileSystemObject
Dim fls As Files
FolderName = "C:\Users\Alex\Desktop"
Set fls = fso.GetFolder(FolderName).Files
For Each fich In fls
txt = txt & Chr(10) & fich.Name & " (créé le " & Left(fich.DateCreated, 8) & ")"
Next fich
MsgBox txt
End Sub
Sub CATMain()
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
FolderName = "C:\Users\Alex\Desktop"
Set fls = fso.GetFolder(FolderName).Files
For Each fich In fls
txt = txt & Chr(10) & fich.Name & " (créé le " & Left(fich.DateCreated, 8) & ")"
Next
MsgBox txt
End Sub