'How to store only the numeric values stored in the txt file on cmd?

How to store only the numeric values stored in the txt file on cmd?

**** my txt file ****

Name     #text 
----     ----- 
BootTime 207018

There is a space at the top. (The total number of lines is 4.)


i try method

for  /f  "tokens=4  delims=  "  %a  IN  ('command')  do  set  result=%a

my Goals

I would like to store the value of 207018 separately using the cmd command.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source