Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by takman

  1. takman

    minutes since file last access

    you can also use the script of markdmac with DateStringToDate function : Dim objFSO, objFile Set objFSO = CreateObject("scripting.filesystemobject") Set objFile = objFSO.GetFile("D:\IIS\consultime_vbs\cvVerif.wsf") WScript.Echo DateStringToDate(objFile.DateLastModified, "dmy") & vbcrlf &...
  2. takman

    Variable filename

    Hi, Here's my version: ScreenVar = "" if filesystem.folderexists("C:\TEMP5") then files = filesystem.getfolder("C:\TEMP5").files if files.count > 0 then ScreenVar = files(0).name end if end if if ScreenVar = "" then ScreenVar = "default value" end if

Part and Inventory Search

Back
Top