08-10-2012, 08:04 PM
Hello again,
I was wondering how i would set up comparing 2 different folders to see if the content is the same or not. I tried to use
the outcome is always "Different", except for the the folders are empty.
What am I doing wrong?
Help would be grateful,
Thank you
I was wondering how i would set up comparing 2 different folders to see if the content is the same or not. I tried to use
Dir du
foreach(du "$desktop$\Foler2\*" FE_Dir 2)
,str sPath=du.FileName(1)
foreach(du "$desktop$\Foler1\*" FE_Dir 2)
,str sPath1=du.FileName(1)
if sPath1=sPath
,out "Same"
else
,out "Different"the outcome is always "Different", except for the the folders are empty.
What am I doing wrong?
Help would be grateful,
Thank you
