Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Need help on DirGetSize

$
0
0

How can I make a script which will notify me when a specific folder's size is greater than 1 MB?

Local $size = DirGetSize("C:\Teste") If $size > 1048576 ThenMsgBox(0,"","Test")  Else MsgBox(0, "","Testing") EndIf

I tried above,but it always shows 

MsgBox(0, "","Testing")

How can I make it work?


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>