You are correct, it has 3 parameters. I checked some old document where it says it has only paremeters. If you need to update just one file with a know file name FileSetAttr instead of FileSetAttrEx If you need to update multiple files use something like the following Dim( done, boolean) Dim( file_list, string ) Dim( file_name, string ) DirEx( "c:\\path\\filemask*.*", file_list ) IsEqual( file_list, "", done ) LoopUntil( done, END_LOOP ) GetToken( ",", file_list, file_name ) FileSetAttr( file_name, 0 ) IsEqual( file_list, "", done ) END_LOOP: : Hello, : According to the 24x7manual.pdf, there are 3 parameters. When I attempt to : validate it with 2 parameters only, I get the error "Bad number of : arguments". : file - A string variable that is the file mask you want to use for searching : files whose attributes will be updated. You can use standard * and ? : wildcard characters for the mask. : attr - A numeric variable that is the new file attributes : count - A numeric variable that receives the returned value : Let me know what to try next. : Thanks, : Alan
|