TechAbhiVaray
Technical User
Hello All,
This is what i have so far:
im oFS, oFolder
set oFS = WScript.CreateObject("Scripting.FileSystemObject")
set oFolder = oFS.GetFolder("C:\inetpub\ftproot\photos\")
ShowFolderDetails oFolder
sub ShowFolderDetails(oF)
dim F
wscript.echo oF.Name & ":#Files=" & oF.Files.Count
for each F in oF.Subfolders
ShowFolderDetails(F)
next
end sub
****************************************
This gives me a count of the number of files in the folder. I want the count from yesterday, so whenever i run the vbs it will give me the number of files added in the folder in the last 24 hours. I am going to use task scheduler to run it once everyday, so it tells me the number of files added in the last 24 hrs.
How do i get to make this file email myself??? Any help will be appreciated!
This is what i have so far:
im oFS, oFolder
set oFS = WScript.CreateObject("Scripting.FileSystemObject")
set oFolder = oFS.GetFolder("C:\inetpub\ftproot\photos\")
ShowFolderDetails oFolder
sub ShowFolderDetails(oF)
dim F
wscript.echo oF.Name & ":#Files=" & oF.Files.Count
for each F in oF.Subfolders
ShowFolderDetails(F)
next
end sub
****************************************
This gives me a count of the number of files in the folder. I want the count from yesterday, so whenever i run the vbs it will give me the number of files added in the folder in the last 24 hours. I am going to use task scheduler to run it once everyday, so it tells me the number of files added in the last 24 hrs.
How do i get to make this file email myself??? Any help will be appreciated!