在命令提示符下,如何删除文本文件中每一行的所有路径信息,并仅保留文件名和文件名。扩展
EG。这是我的文本文件:
d:\hvsc\GAMES\0-9\4x4_Off-Road_Racing.sid
d:\hvsc\GAMES\S-Z\Wizardry.sid
d:\hvsc\MUSICIANS\R\Rayden\Wizardry_96.sid
d:\hvsc\MUSICIANS\D\DRAX\Wizzkid.sid
d:\hvsc\DEMOS\G-L\Genias-Logo.sid
d:\hvsc\GAMES\S-Z\World_Games.sid
d:\hvsc\MUSICIANS\B\Blues_Muz\Gallefoss_Glenn\Countdown_To_Nil.sid
d:\hvsc\MUSICIANS\S\Sphere_Chromance\Fighting_the_green.sid
d:\hvsc\MUSICIANS\W\Whittaker_David\Wrath_of_the_Demon.sid
但我只想要这个:
4x4_Off-Road_Racing.sid
Wizardry.sid
Wizardry_96.sid
etc