NewsArchive
05-07-2011, 06:14 AM
Hi Friedrich,
the function "Get System Info --> Free disk space" gives a wrong result,
if the disk as more than 2TB free.
At the moment, I have a very dirty hack to deal with this problem:
Set Variable %_FH_DISKSPACE% to FUNCTION:Get System Info(Free
Disk Space) for "%_FH_DRIVE%"
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% / 1024
(Arithmetic & Bitwise Operation)
If %_FH_DISKSPACE% Less Than "0" Then
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% * -1
(Arithmetic & Bitwise Operation)
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% + 2097152
(Arithmetic & Bitwise Operation)
End
Text File: Insert Line "0" to "%_FH_LOGFILE%" -- Der freie
Speicherplatz auf Laufwerk %_FH_DRIVE% beträgt %_FH_DISKSPACE% MByte.
If %_FH_DISKSPACE% Less Than "1024" Then
Set Variable %_FH_ERROR% to "$TRUE$"
Text File: Insert Line "0" to "%_FH_LOGFILE%" -- Weise Nutzer
darauf hin, dass für AIDA mindestens 1024 MB Plattenplatz vorhanden sein
müssen.
Display Message Box "Der Speicherplatz auf dem gewählten
Laufwerk reich..." -- "Zu wenig Speicherplatz"
End
Markus
the function "Get System Info --> Free disk space" gives a wrong result,
if the disk as more than 2TB free.
At the moment, I have a very dirty hack to deal with this problem:
Set Variable %_FH_DISKSPACE% to FUNCTION:Get System Info(Free
Disk Space) for "%_FH_DRIVE%"
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% / 1024
(Arithmetic & Bitwise Operation)
If %_FH_DISKSPACE% Less Than "0" Then
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% * -1
(Arithmetic & Bitwise Operation)
Set Variable %_FH_DISKSPACE% to %_FH_DISKSPACE% + 2097152
(Arithmetic & Bitwise Operation)
End
Text File: Insert Line "0" to "%_FH_LOGFILE%" -- Der freie
Speicherplatz auf Laufwerk %_FH_DRIVE% beträgt %_FH_DISKSPACE% MByte.
If %_FH_DISKSPACE% Less Than "1024" Then
Set Variable %_FH_ERROR% to "$TRUE$"
Text File: Insert Line "0" to "%_FH_LOGFILE%" -- Weise Nutzer
darauf hin, dass für AIDA mindestens 1024 MB Plattenplatz vorhanden sein
müssen.
Display Message Box "Der Speicherplatz auf dem gewählten
Laufwerk reich..." -- "Zu wenig Speicherplatz"
End
Markus