bhargavik Posted July 22, 2013 Posted July 22, 2013 (edited) hi friends i need to compare two folders . i need to check what are the missing files . for that i saw this coding in forum(shown below) . i used but its not comparing the sub folder .i need to list all the existing files and folders .. how to do that .... help me please ..... #include <File.au3> $path1 = "C:folder1" $path2 = "F:Visio" $aFile = _FileListToArray($path1, "*.*", 1) Dim $Found For $i = 1 To $aFile[0] $search = FileFindFirstFile($path2 & "" & $aFile[$i]) If $search = -1 Then ContinueLoop While 1 $file = FileFindNextFile($search) If @error Then ExitLoop $Found &= $file & @LF WEnd Next FileClose($search) MsgBox(0, "Same files", $Found) Edited July 22, 2013 by bhargavik
AZJIO Posted July 22, 2013 Posted July 22, 2013 >_FileSearch + _FolderSearch >Synchronization My other projects or all
bhargavik Posted July 22, 2013 Author Posted July 22, 2013 its showing error in opening the file #include<fileoperations.au3>
AZJIO Posted July 22, 2013 Posted July 22, 2013 Au3Check.exe does false operation Likely it is necessary to add the old version You can temporarily disable Au3Check.exe. See the last >post My other projects or all
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now