Search found 2 matches

by ehabaziz2001
18 Jan 2014 05:33
Forum: DOS Batch Forum
Topic: processing same files with same prefix
Replies: 3
Views: 1355

Re: processing same files with same prefix

If one single file of each pair is not created , I need to create it empty . If post file is not created for a pair I need to create it empty (nul). If hold file is not created , I need to create it empty (nul). For missing pairs I am doing this : dir /b %folder%\*.out.new > dir1.lst @echo off for /...
by ehabaziz2001
17 Jan 2014 20:51
Forum: DOS Batch Forum
Topic: processing same files with same prefix
Replies: 3
Views: 1355

processing same files with same prefix

My dir.lst as like this : ************************* wady0_Hold.out.new wady0_Post.out.new wady2_Hold.out.new wady2_Post.out.new wady3_Post.out.new wady4_Hold.out.new For missing pairs I am doing this : dir /b %folder%\*.out.new > dir1.lst @echo off for /f "tokens=1,* delims=_" %%a in (dir1...