Hello, welcome Batch Programmer?
In this tutorial we will discuss about how to get bytes free from a drive or a.k.a how many space are available on that drive. There are many ways to do that, but in this tutorial, we only uses cmd command.
So, for instance we would like to know the available space on drive c:
1. dir c:\ | FIND "bytes free"
2. Fsutil volume diskfree c:/ | FIND "Total # of avail free bytes"
Thats it folks. You can also runs it in batch script.
In this tutorial we will discuss about how to get bytes free from a drive or a.k.a how many space are available on that drive. There are many ways to do that, but in this tutorial, we only uses cmd command.
So, for instance we would like to know the available space on drive c:
1. dir c:\ | FIND "bytes free"
2. Fsutil volume diskfree c:/ | FIND "Total # of avail free bytes"
Thats it folks. You can also runs it in batch script.
Tidak ada komentar:
Posting Komentar