code:
if exist ("s:\computing\scripts\wksta\" + @wksta + "_dr.txt")
goto "over"
else
$PC = @wksta
$outfile = "s:\computing\scripts\wksta\" + @wksta + "_dr.txt"
For Each $Disk In DiskInfo($PC)
if redirectoutput ("") = 0 endif; send it to the screen
$Disk ?
if redirectoutput ($outfile,1) = 0 endif; send it to the file
$Disk ?
Next
;return; return to what? why?
endif
; send it to the screen
if redirectoutput ("") = 0
? "stuff for the screen"
:over



[ 23. September 2002, 19:12: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...