Benoit Minisini - 2003-11-01

Logged In: YES
user_id=29457

Try something like that:

sPath = "/Path/To/My/Directory"
sTemp = TEMP$
' You may have to quote sPath before sending it to a shell
SHELL "(cd " & sPath & "; du -b | tail -n1 > " & sTemp & ")" WAIT
PRINT "Directory size is "; File.Load(sTemp); " bytes"
KILL sTemp