Search Path (sp)

PillarSoft Utilities, Copyright 2003, PillarSoft

 


Description

Search Path (sp) allows users to search for occurances of FileName in all directories listed in the SET PATH statement. After a search is completed, any file located matching the FileName parameter is listed.

FileName may be an actual filename or a wildcard specification.

 

Syntax

  sp FileName

 

Parameters

Parameter
Data Type
Purpose
Value
Default
Required
FileName string Name of file to perform search on. Must be filename only or a filename specified with wildcards. (example: readme.txt   -or-   *.txt) N/A N/A Y

 

Notes

Search Path (sp) finds files located in the PATH statement as opposed to Find File (ff) which finds files located on a specified drive or in a specified directory.

 

Example(s)

 
Find all occurances of readme.txt in the PATH.

  sp readme.txt

 
Find all occurances of *.txt in the PATH.

  sp *.txt

 
Display syntax and mini command line help.

  sp ?
 


Copyright 2001 - 2003, PillarSoft
All Rights Reserved