Consultor Eletrônico



Kbase P115812: How to list all files from a directory including sub-directories?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/3/2006
Status: Unverified

GOAL:

How to list all files from a directory including sub-directories?

GOAL:

How to list files from sub-directories?

FACT(s) (Environment):

Windows
Unix

FIX:

Use INPUT THROUGH statement in a combination with a OS command for listing files.
Example:
Windows: INPUT THROUGH VALUE( "dir /S /B c:\windows\*.txt" ).
Unix: INPUT THROUGH VALUE( 'find /etc -name "*.conf" ' ).