

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference between File and Folder
File
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
Folder is a container to carry files. A folder can have sub folders as well.
Following are the important difference between File and Folder.
Sr. No. | Key | File | 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. |
- Related Questions & Answers
- Difference between Header file and Library
- Restore deleted file and folder shortcuts in windows
- Difference between FAT32, exFAT, and NTFS File Systems.
- State the difference between file systems and DBMS?
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Difference between JCoClient and JCoDestination
- Difference between String and StringBuffer.
- Difference between StringBuffer and StringBuilder.
- Difference between C# and .Net
- Difference between Process and Thread
- Difference between Concurrency and Parallelism
- Difference between localhost and 127.0.0.1?
- Difference between Java and JavaScript.
- Difference between NodeJS and AngularJS
- Difference between Normalization and Denormalization
Advertisements