Thanks Shawn. Now that I got the syntax right, I revised the script as follows:
code:

break on

$FileName = Dir("C:\TEMP\*.*")
While $FileName <> "" and @ERROR = 0
If len($FileName) > 5
Shell "%comspec% /c ping $filename"
EndIf
$FileName = Dir() ; retrieve next file
Loop


get $



J,
Needed to add the \*.* to make it work, and yes it works under 3.62 and RC3. Also added the If LEN() so that it doesn't try to ping . and .. entries.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.