Chris, any idea why WshPipe() would bark when one adds the "/s" switch in:

$ShellCMD = "dir c:\data /b /a:d /s"

It works up until the "/s" is added.
_________________________
Home page: http://www.kixhelp.com/hb/