What I want to do is take the output from a simple dir command (this is on a Windows platform, no Unix is involved). I want it to take the "Directory of C:\" and the "# bytes free" part of the output (and would be much easier if it would just auto-convert to GB with two decimal points).
Outside of simply copying/pasting, I haven't figured out a way to do this easily.
Anyone know of a way to do this? It doesn't have to be complicated, I'm not looking for a standalone program or anything like that, just a way to get the output without having to do a lot of clicking. It's all in the same format for all the drives, so formatting shouldn't be too big of an issue.
Edited by hackman2007, 12 September 2011 - 06:54 PM.