\ / : * ? " | How are files different than a directory?Ī directory is an area on the computer containing other directories and files and helps keep the computer organized. When creating directories, if any of these characters are used, you'll receive an error or encounter other problems. Invalid directory charactersīelow is a listing of reserved characters that cannot be used when creating a file or directory on most operating systems. What type of files can be stored in a directory?Ī directory can contain one or more files of any type and can even store other directories that contain files. By storing a program in its own directory, it helps prevent files with the same name from getting overwritten, modified, or deleted by other programs.
#COD4 MAIN FOLDER INSTALL#
For example, when you install a program, its files are stored in a unique directory that may contain subdirectories and tens, hundreds, or thousands of files related to that program. In other words, if only pictures were in a pictures directory, it's easier to find a picture than a directory containing all types of files.ĭirectories are also used as a place to store programs. By storing specific types of files in a folder, you could quickly get to the type of file you wanted to view. For example, you could have a directory to store pictures and another directory to store all your documents.
#COD4 MAIN FOLDER FULL#
#COD4 MAIN FOLDER HOW TO#
To remove a directory in MS-DOS, use the "rmdir" command.