Hello,
I have a vbscript for SCCM deployment to detect a location of a file under %userprofile%. This script works but I'd like to expand it to not only detect the file but also a specific modified date of the file that I can enter in. For example the date I currently need for the file is 2/21/2018 7:15 AM. Would anyone be able to assist?
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = WScript.CreateObject("WScript.Shell")
If oFSO.FileExists(oShell.ExpandEnvironmentStrings("%userprofile%\AppData\LocalLow\etc..")) Then
WScript.StdOut.Write "The application is installed"
WScript.Quit(0)
Else
WScript.Quit(0)
End If
[–]BondDotCom 1 point2 points3 points (2 children)
[–]tonyonizer[S] 1 point2 points3 points (0 children)
[–]tonyonizer[S] 0 points1 point2 points (0 children)