windows-shell

all disks space info in a WIN CMD shell using just native commands

I'm trying to automatize the disc space info for all local partitions. The 'fsutil info drives' gives the following: C:\cmd>fsutil fsinfo drives Drives: C:\ D:\ E:\ F:\ I:\ Z:\ Now I have the following: for /F "tokens=2,* delims=\ " %i in ('fsutil fsinfo drives') do ( fsutil volume diskfree %i ); C:\cmd>(fsutil volume diskfree C: ...