if exists
(
folder "__BESData\__Global\__Cache\Downloads" of parent folder of regapp "Besclient.exe"
)
then
(
(
if
(
0<
(
it /
(
1024*1024*1024*1024
)
)
)
then
(
it /
(
1024*1024*1024*1024
)
)
as string & " TB" else if
(
0<
(
it /
(
1024*1024*1024
)
)
)
then
(
it /
(
1024*1024*1024
)
)
as string & " GB" else if
(
0<
(
it /
(
1024*1024
)
)
)
then
(
it /
(
1024*1024
)
)
as string & " MB" else if
(
0<
(
it /
(
1024
)
)
)
then
(
it /
(
1024
)
)
as string & " KB" else
(
it as string & " B"
)
)
of
(
sum of sizes of descendants of folder "__BESData\__Global\__Cache\Downloads" of parent folder of regapp "Besclient.exe"
)
)
else ERROR "none"
if exists (folder "__BESData\__Global\__Cache\Downloads" of parent folder of regapp "Besclient.exe") then ((if (0<(it / (1024*1024*1024*1024))) then (it / (1024*1024*1024*1024)) as string & " TB" else if (0<(it / (1024*1024*1024))) then (it / (1024*1024*1024)) as string & " GB" else if (0<(it / (1024*1024))) then (it / (1024*1024)) as string & " MB" else if (0<(it / (1024))) then (it / (1024)) as string & " KB" else (it as string & " B")) of (sum of sizes of descendants of folder "__BESData\__Global\__Cache\Downloads" of parent folder of regapp "Besclient.exe")) else ERROR "none"