Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
Appreciate your help.
Set objFSO = CreateObject("Scripting.FileSystemObject") Const forReading = 1 logName = "Output.txt" Set logFile = objFSO.CreateTextFile(logName, True) inputFile = "a.txt" strFolder1 = InputBox("Enter Source Folder Path :") Set fileList = objFSO.OpenTextFile(inputFile, forReading) Set objFolder1 = objFSO.GetFolder(strFolder1) Set files = objFolder1.Files For each objFile in files fileName = objFile.Name fileSpec = fileList.ReadLine() If not (fileName = fileSpec) Then logFile.writeline (fileName) End If next fileList.close logFile.close
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.