
Managing a DOS File System
5-21
The file is displayed in the same format in which it is stored (provided that you do
not enter the
-x argument): binary for log files and ASCII for alias files. Log files
are stored in binary format; use the
log command described in “Logging and
Displaying Event Messages” in Chapter 6 to display a log file in ASCII format.
Examples:
Deleting a File
Use the delete command to delete files that you specify. You can use the wildcard
characters
* and ? when issuing the delete command.
Enter the following to delete a file in the present working directory:
delete
<filename>
You can enter del or delete when deleting a file.
If you enter: The console displays:
type install.bat
The contents of the install.bat file.
type -x config
The config file in hexadecimal format.
Caution: You cannot recover a file after it is deleted. The delete command
does not prompt you to verify a deletion.
Note: You cannot delete a file whose attributes are h (for hidden) or s (for
system). Refer to “Changing File Attributes,” earlier in this chapter, for
instructions on changing these protections.
Komentáře k této Příručce