ZTree.com  | ZEN  | About...  

 Index   Back

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

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

Basically, you create the list of the tagged files using:
REM #ZTtag C:\TAGGED.LIS
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:
http://vujnovic.free.fr/ztw/ztw_menu.html#Dir_6

961 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 98 users online (0 registered, 98 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 2:21 pm UTC  |  Hits:62,408,767  (23,553 Today )
RSS Feed