none
Filtering a output from command line RRS feed

  • Question

  • I am executing the following command:

    C:\>fsutil volume diskfree c:| find "Total # of free bytes"

    and the output is

    Total # of free bytes        : 70485958656

    I need only the numeric output. In Linux i can achieve this by using "grep" functionality. Not sure what do I have to use in Windows.

    Any help is appreciated.

    Thank you.


    Prasenjit Gupta DBA Tata Consultancy Services Ltd.

    Sunday, October 14, 2012 7:02 PM