If you want to just delete the files, here is a modification on @jthi code to do that
Names Default To Here( 1 );
dir_path = "$TEMP\test\";
If( !Directory Exists( dir_path ),
Create Directory( dir_path );
new_file = Save Text File(
dir_path || "DeleteMe.txt",
"The quick brown fox"
);
new_file = Save Text File(
dir_path || "DeleteMe2.txt",
"The quick brown fox"
);
);
Wait( 1 );
// Get the files in the folder
the_Files = Files In Directory( dir_path );
For Each( {file}, the_files, rc = Delete File( dir_path || file ) );
Show( Files In Directory( dir_path ) );
Jim