mespork, First, welcome to the Autoit forums. You need to use the FileExists function to determine whether your folder exists. FileFindFirstFile needs a full path and filename (which can include wildcards) to return a search handle for further exploitation - hardly surprising that it returns -1 in this case!. >_< Of course, FileFindFirstFile might well come in handy if you want to search the level above for all the folders which meet the mask you have set (_AI*.tmp[/i1]) and you