t0ddie Posted September 21, 2004 Author Share Posted September 21, 2004 so would i change all the "and" s to "or" ? or should i do this $String = '|' & @TempDir & '|' & @systemdir & '|' & @AppDataCommonDir & '|' & @DesktopCommonDir & '|' & @DocumentsCommonDir & '|' & @FavoritesCommonDir & '|' & @ProgramsCommonDir & '|' & @StartMenuCommonDir & '|' & @StartupCommonDir & '|' & @AppDataDir & '|' & @DesktopDir & '|' & @MyDocumentsDir & '|' & @FavoritesDir & '|' & @ProgramsDir & '|' & @StartMenuDir & '|' & @StartupDir & '|' & @UserProfileDir If Not stringinstr($String,'|' & $root & $Filefound & '|') Then $FileList = $FileList & $root & $FileFound & "\" & @LF EndIf EndIf $FileFound = FileFindNextFile($h) WEnd FileClose($h) EndIf Wend EndIf $FileList = StringSplit($FileList,@lf) endif would that work? or is there a better way??? ~the NOOB Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
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