You could use the old DOS Trick of re-directing your output to a text file..

* New File: c:\psgetsid.exe > c:\file
* Append to a file: c:\psgetsid.exe >> c:\file

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's