To create a file from command prompt, follow these steps below:
- Open your command line prompt(CMD) or Terminal
- Switch to the folder you want your file to be created at (cd foldername)
- Inside the command prompt type MKDIR filename
- Press Enter and check the folder
After the above steps, your file should be created.