ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Batch on tagged files   [Help!]

By: Slobodan Vujnovic   Homepage   France  
Date: Dec 18,2019 at 18:26
In Response to: [Help!] Batch on tagged files (Laurent Duchastel)

Basically, you create the list of the tagged files using:
and then feed this list to a FOR loop process:
@FOR /f %%%%i IN (C:\TAGGED.LIS) DO CALL [your_process] %%%%i

Check if the above works by first using the simplest possible process:
@FOR /f %%%%i IN (C:\TAGGED.LIS) DO echo %%%%i

[your_process] could be an external .BAT, or you can CALL a :label
in the same file, which "returns" with GOTO :EOF as its last line.

This is taken from some examples I did ages ago, hopefully,
they still work:


Messages in this Thread

94,708 Postings in 11,942 Threads, 348 registered users, 16 users online (1 registered, 15 guests)
Index | Admin contact |   Forum Time: Jan 21, 2020 - 9:50 pm EST  |  Hits:29,749,038  (4,360 Today )
RSS Feed