![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Hello, I just have a question regarding finding files on a VMS system. Is there a way of searching all subdirectories for a file? Something similar to the dir /s command in Dos. Thanks Richard. The Answer is : OpenVMS permits wildcards within directory and file specifications. Two (of many) examples of this follow: $ DIRECTORY ddcu:[dir...]FILE*NAME.* $ SEARCH ddcu:[*...]*NAME*.TXT STRING Key to this specification is the "..." wildcard, though you could also use explicit directory specifications combined with wildcards if you wish to search only specific subdirectories. For details of the above commands, please see the OpenVMS User's Guide and the DCL Dictionary in the OpenVMS manual set, and please see the HELP library. Please review the OpenVMS Users' Guide for details of the OpenVMS file specification syntax and the proper use of wildcards, and for information on many of the other available features of OpenVMS. The OpenVMS documentation is available at the OpenVMS website.
|