Monday 15 February 2010

windows - How to create a batch to list SPECYFIC files and directories in a folder -


I would like to create a batch that saves output and TCTT file directories with specyfic files (for example, MP3) The moment I'm using the code below which saves everything ... copy for

  / r %% a in (*) do echo %% a & gt; & Gt; Get_files.txt   

So I get the full directory with the file but I want to .mp3

Regards

  @echo off (for / r %% a in (* .mp3 ) Echo (%% ~ fa) & gt; get_files.txt    

No comments:

Post a Comment