list of paths

Score
0
Vote Up
April 29, 2011 at 12:22:16 Pacific
Specs: Windows XP

Hello
How can I get list of paths (*.dxf) - list.txt, only if it's not in New Folders. The number of subfolders is not same. I have this:
for /r C:\ja %X in (*.dxf) do echo %X >> list.txt
list.txt:
C:\ja\26.0183\350.260\t=5mm,S235JRG2\Z.dxf
C:\ja\26.0183\350.260\t=5mm,S235JRG2\New Folder\Vkl.dxf
C:\ja\26.0186\230.360.01\t=3mm, S235JRG2\dddd.dxf
C:\ja\26.0186\230.360.01\t=3mm, S235JRG2\New Folder\Drawing1.dxf

Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
April 29, 2011 at 13:47:43 Pacific


for /r C:\ja %X in (*.dxf) do echo %X | find /V "New Folder" >> list.txt


Reply ↓  Report •
Reply to Message Icon Start New Discussion
Related Posts

« Batch File dir to .txt fi... Batch File To Make Anothe... »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC