This is what I'm trying to do:

$Directory is a directory full of Folders. within each of these folders is a number of .htm files. I basically need to copy each of these .htm files, parse them a bit and create a new .shtm file in the same directory. What i've attempted to do so far is just get the filenames to parse.

ie:

Code:

Dir(The directory containing the folders)
While There are no errors
Dir(the folder underneath the original directory)
While there are no erros
?Show the filename
Dir(the folder underneath the original directory)
Loop
Dir(the directory containing the folders)
Loop



Does that make more sense?