N=Now
Set objFSO = CreateObject("Scripting.FileSystemObject")
strFolder=" S:\out"
strNewDest = "C:\IN"
Set objFolder = objFSO.GetFolder(strFolder)
For Each strFiles In objFolder.Files
If DateDiff("d",N, strFiles.DateLastModified) >1 Then
'objFSO.MoveFile strFiles , strNewDest & "\" & strFiles.Name
Wscript.Echo strFiles.Name
End If
Next
i tried this VBS code .. it gave an error in the fifth line and the error is (path not found )?!
the one is calculated as one day how can i convert it to min. ?
thanks in advance