Anonymous user
Walk a directory/Recursively: Difference between revisions
reread the requirements. Now it ECHOs instead of ATTRIBs
(reread the requirements. Now it ECHOs instead of ATTRIBs) |
|||
Line 238:
<lang dos>dir /a-d %1</lang>
If you wanted to apply some command to each item in a directory tree, then use <code>/R</code> on a <code>FOR</code>. For example, apply the
<lang dos>FOR /R C:\Windows\System32 %F IN (*.DLL) DO
=={{header|E}}==
|