File can be described as a set of related data/information and is stored on secondary storage device. A file can be a data/information file or program file and can contain data in any format. For example, text files, audio files, executable program files and so on.
Folder is a container to carry files. A folder can have sub folders as well.
Following are the important difference between File and Folder.
|1||Extension||Files may or may not have extensions.||Folders do not have extensions.|
|2||Container||A File can not contain another file/folder.||A folder can contain any number of file/folders.|
|3||Memory size||A file has certain size and memory consumption.||A folder has no size of its own. It derives the size from the files it contains.|
|4||Attributes||Name, Extension, Date, Time, Length and Protection (Read-Only, hidden etc.)||Name, Date, Time and Protection (Read-Only, hidden etc.)|
|5||Supported operations||Open, save, rename, print, email and modify file content.||Move, rename, delete and share.|
|6||Sharing||Files cannot be shared on network on their own.||Folders can be shared on network.|