Anlage des Repos
This commit is contained in:
8
examples/VBS/Get-NewestFile.vbs
Normal file
8
examples/VBS/Get-NewestFile.vbs
Normal file
@@ -0,0 +1,8 @@
|
||||
Set GetRecentFile = Nothing
|
||||
For Each objFile In objFolder.Files
|
||||
If GetRecentFile is Nothing then
|
||||
Set GetRecentFile = objFile
|
||||
ElseIf objFile.DateLastModified > GetRecentFile.DateLastModified then
|
||||
Set GetRecentFile = objFile
|
||||
End If
|
||||
Next
|
||||
Reference in New Issue
Block a user