Walk a directory/Recursively: Difference between revisions

Content added Content deleted
m (add REXX Version 2)
Line 1,598: Line 1,598:


=={{header|REXX}}==
=={{header|REXX}}==
===REXX version 1===
{{works with|Regina}}
{{works with|Regina}}
The following program was tested in a DOS window under Windows/XP and should work for all Microsoft Windows.
The following program was tested in a DOS window under Windows/XP and should work for all Microsoft Windows.
Line 1,618: Line 1,619:
exit @.0+rc /*stick a fork in it, we're done.*/</lang>
exit @.0+rc /*stick a fork in it, we're done.*/</lang>


===REXX version 2===

{{trans|BATCH-file}}
Works on Windows with ooRexx and Regina (not much REXX code in it)
<lang rexx>'dir /s /b "%windir%\System32\*.exe"'</lang>


=={{header|Ruby}}==
=={{header|Ruby}}==