How to delete the spaces and dates at the end of each line in the final output list.txt???
----------------------------------------------------------
c:\my\ab.exe 2007.10.26
d:\cde.com 2007.1.1
c:\f.bat 2007.1.3
----------------------------------------------------------
↓
----------------------------------------------------------
c:\my\ab.exe
d:\cde.com
c:\f.bat
----------------------------------------------------------
----------------------------------------------------------
c:\my\ab.exe 2007.10.26
d:\cde.com 2007.1.1
c:\f.bat 2007.1.3
----------------------------------------------------------
↓
----------------------------------------------------------
c:\my\ab.exe
d:\cde.com
c:\f.bat
----------------------------------------------------------

