Assume I use dir
commend and it returns:
02/23/2014 03:03 PM <DIR> ManageEngine
09/28/2013 02:09 PM <DIR> opt
04/30/2014 09:30 AM <DIR> Oracle
09/29/2014 12:53 PM <DIR> Program Files
09/15/2014 12:59 PM <DIR> Program Files (x86)
09/30/2014 01:10 PM <DIR> ProgramData
08/10/2014 03:06 PM <DIR> Virtual Machines
05/05/2013 12:19 PM <DIR> wis
0 File(s) 0 bytes
8 Dir(s) 35,379,425,280 bytes free
Now I want to read the second line for example from the previous command line results(dir
) and use it in my current command line.
Example:
del opt
How can I read the second line?