20 Terminal Commands That You Must Know
----------------Manipulation With Files and Folders-----------------

1. Encrypting Files

I Know windows is not so much famous for the security it offers but still, there are some methods that can give a guarded feel. Encrypting Files is one of them. Many windows users use third-party apps to encrypt their data but windows also offer an inbuild encryption system for securing files.

Open Your Terminal (Win+R Type CMD and Press Enter), and target your terminal to the folder where your files are that you want to secure. Then simply use the command below.

Cipher /E

Now No one without the password can not access your files. If You Want to Decrypt the Files than you can use Cipher \D .

2. File Compare

We all store our important data in files and overtime when the data of the files change and gets updates then it becomes very tough to find the difference between the previous and latest version of the file. You can also relate it with two versions of a coding project. We usually create multiple versions for our project file and in the end, we forgot what changes we have done.

Using the file compare command of the terminal we can find the difference between the two files by just a simple line of command.

fc /a File1.txt File2.txt ##Simple compare

fc /b File1.txt File2.txt ##Binary compare (Best For Images)

3. Hiding Folders

You Might be thinking that one I already know but wait the one you are thinking is not good enough. we all know there is an easy way of hiding folders using the right-click and then in properties checking the checkbox “Hidden”. if you know it then you also know that folders can be seen if you go in the view and then check the “Hidden Files” Check box in the top bar. Anyone who is using your computer can do that and easily access your hidden files. There is a much better and safe way is to use the terminal.

In the Terminal Target The location to the parent of your desired folder and then type the below command.

Attrib +h +s +r FOLDER_NAME ## Attrib +h +s +r studymaterial

Now YOur Folder is hidden completely and you can’t even see it by checking the Hidden Files checkbox in the top bar. To unhide the folder, you can use the command

Attrib -h -s -r FOLDER_NAME ## Attrib -h -s -r studymaterial

4. Showing File Structure

This one I found useful because most of the time when you are working in a team on a big project the most important thing is the file structure. One Mistake in the file structure and your all efforts wasted. You don’t do a bigger mistake like this that's why CMD comes with a command which helps you to show the file structure.
['Abhay Parashar']
['Tech', 'Technology', 'Productivity', 'Windows 10', 'Education']