Use of command prompt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use of command prompt

What are the real life use cases of command prompt or terminal window in Windows operating system?

8th Apr 2021, 5:33 PM
Souptik Nath
Souptik Nath - avatar
4 Answers
+ 5
Making programs for yourself. All the applications on your computer is just a bunch of code that couldve been a command line program. for useability, guis are made, but the same functions and sometimes more can also be done with a commamd line version of a program
8th Apr 2021, 5:54 PM
Slick
Slick - avatar
+ 2
Some Windows tools like diskpart uses the cmd
8th Apr 2021, 5:35 PM
Julian Bents
Julian Bents - avatar
+ 2
To scare normal people
8th Apr 2021, 6:31 PM
Hëllo Wörld🔰
Hëllo Wörld🔰 - avatar
+ 1
The original operating system was only the terminal window: MS-DOS. Nearly everything has been redesigned graphically, but there are things that are still easier, or exclusive, to the command line. It’s less used these days. To complicate things, there’s actually three different command lines. The DOS command (CMD), the Linux subsystem (BASH) and the PowerShell interface. People write scripts in all of these for various reasons. The most common use case is when you want to write a short script and don’t want to design a graphical interface. Maybe to copy some files, make a backup, etc. There’s very little that actually requires the command interface anymore. But it used to be used a lot more years ago.
8th Apr 2021, 8:02 PM
Jerry Hobby
Jerry Hobby - avatar