Güncel Ams Dosya Boyutu Hesaplama

Falcon

Yönetici
Kod:
dosya = _DesktopFolder.."\\test.zip"
boyut = File.GetSize(dosya)

Dialog.Message("Boyut", "Dosya boyutu: "..tostring(boyut/1024).." KB", MB_OK, MB_ICONINFORMATION)
 
This code isn't efficient.
It makes no sense to use a Byte/Kibibyte (new standard) conversion
when you can simply know the file size directly in bytes.


screener.PNG
 
Geri
Üst