Hi All

Can i read Dos command out values in file or Buffer?

For example if i run dir command in dos then it show file and directory name.Now i want to store these file and directory in file or Buffer.
is it possible then guide me..