I'l see Jens post and raise it... [Big Grin]
code:
Break on
$BasePath = "%windir%\system32\config\"
$strFile = "appevent.evt","secevent.evt","sysevent.evt"
For each $element in $strFile
$objFSO = CreateObject("Scripting.FileSystemObject")
? $BasePath + $element + " = "
$objFSO.GetFile($BasePath + $element).Size
Next
$objFSO = ""
get $_

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.