Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Identify the Last File in a Sequential List of FilesContent of Identify the Last File in a Sequential List of Files.vbsMD5 Hash: 67D87E7FB3FFC1D4B2C6DB7FD937D926 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFileList = objWMIService.ExecQuery _ ("ASSOCIATORS OF {Win32_Directory.Name='C:\PDFs'} Where " _ & "ResultClass = CIM_DataFile") For Each objFile In colFileList strFile = objFile.FileName Next Wscript.Echo strFile | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |