Shane...

I get an invalid file name error with your test code, even when I substitute my own output destination. I rewrote the test code to use redirectoutput instead of writeline and it works fine.
Try this test code...
code:
; * Test code
Break on
$PC = @wksta
;$outfile = "c:\temp\" + @wksta + "_dr.txt"
$outfile = "s:\computing\scripts\" + @wksta + "_dr.txt"
if redirectoutput ($outfile,1) = 0
For Each $Disk In DiskInfo($PC)
$Disk ?
Next
else
? "File open error = " @error
endif

; * End Test code



[ 20. September 2002, 22:59: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...