HI,
i want to check the free space of hard disk, if free space is less than 50% of totalspace avilable, then it sends a mail or message to the mobile. this is used for continuous monitoring of free space. by the using of COMMAND PROMPT, BATCH FILE, or VBS script.
wmic logicaldisk where name='G:' name=get size,freespace,caption
above statement gives the freespace of particular disk. the main problem is that how to take the the freespace on a new variable, to perform the analysis on that data.
Add comment