windows - Read Lines from document and create new document accordingly -


I would like to ask you to help me with a script in Windows 7,

Input: Like list files like this:

  file1.dll file2.txt file3.png .....   

Output is: < A & gt;> pre & lt; & Lt; FILE_NAME & gt; File1.dll & lt; / FILE_NAME & gt; & Lt; / A & gt; & Lt; A & gt; & Lt; FILE_NAME & gt; File2.txt & lt; / FILE_NAME & gt; & Lt; / A & gt; & Lt; A & gt; & Lt; FILE_NAME & gt; File3.png & lt; / FILE_NAME & gt; & Lt; / A & gt;

  @echo for off / f "delims =" %% x (Files.txt) do (echo. ^ ^ Lt; A ^> Echo. ^ ^ FILE_NAME ^ & gt; %% x ^ & lt; / FILE_NAME ^ & gt; echo ^ ^ & lt; / A ^ & Gt;)    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -