The files command is used to display the names of the files residing on the specified drive.
Syntax
FILES [Path name]
Where,
Path name : location of files to be displayed.
Syntax
FILES [Path name]
Where,
Path name : location of files to be displayed.
- If Path name is omitted, the Command list all files in the current directory of the selected drive.
- It also displays the name of directory and number of bytes in the file.
- We can use question marks (?) or asterisk (*) with the path name to match specific files.
FILES
It displays or lists all the files on the current directory.
C S 3.4 Display on Screen for FILES command
Ok
FILES
C:/GWBASIC
<DIR> ..<DIR> BASICA.EXE FLOW.EXE
GWBASIC.EXE simoga.com smartchk.ops Dirtect.bas
BIODATA.BAS
7370752 Bytes free
Ok
Example 9
FILES"*,BAS" {press enter key}
It displays files having extension BAS on the current directory.
Example 10
FILES"A:*.*" (press enter key)
It displays files on the drive A: witj any file name or with any extension.
Example 11
FILES "BIODATA"?.BAS (press enter key)
Dislplays those files which has BIODATA witj any 7th letter (e.g. BIODATA)
No comments:
Post a Comment