What is the Command Prompt and how to use it

In this article we will explain what are the features of the Command Prompt, how to use it, start it and what are the main commands.

Maybe you have already heard of the Command Prompt, but you do not know exactly what it is and what is its function. Today we have prepared a guide to explain what it is and how to use the command prompt, a tool of the Windows operating system that allows you to give commands manually to your computer, without using the mouse. It is a tool of the Windows operating system that allows you to give commands to your computer manually, without using the mouse.

What is the command prompt

First of all, let's see what the command prompt is, that is, the tool that allows you to give instructions to the Windows operating system manually, without using the mouse. The prompt supports many programs with which you can, for example, display basic information or change parts of the operating system. It is a tool that should be used with care to avoid damaging the operating system.

What is the Command Prompt for

Now let's see what the Command Prompt is for. Basically, the command prompt is used to write commands to be given to the machine and have them executed. It is a very important tool in computers even though it is rarely used with the mouse. The command prompt can be set to your liking, choosing the background, which is usually black, the font size and the transparency of the window, an option available only in the latest versions of Windows 10.

Start command prompt at startup

In order to use this tool, you have to start the command prompt at startup by opening the appropriate window. Per avviare il prompt, hai diverse opzioni, che puoi usare in base alle tue necessità. Ecco quali sono i più comodi.

  • Menu Start. Devi cliccare sul pulsante che ha la forma di una bandierina e si trova nell’angolo in basso a sinistra dello schermo. Quindi, accedi alla cartella Sistema Windows e clicca sull’icona Prompt dei comandi. Questa modalità puoi utilizzarla se hai Windows 10.
  • Cortana. Sempre sei hai Windows 10, puoi procedere cliccando sulla barra di ricerca oppure sull’icona di Cortana che è rappresentata da un cerchietto bianco che si trovano vicino al tasto Start. Quindi, devi digitare la parola Prompt nell’apposita casella e premere sul risultato più adatto al programma che cerchi.
  • Menu Start. Se invece hai Windows 8, devi premere il pulsante Start. Dopo che sei entrato, devi premere Start Screen, muovere il mouse e premere il pulsante con la freccina che punta verso il basso, che è posizionato in basso a sinistra. In questo modo puoi accedere alla sezione Tutte le app. Per terminare l’operazione, devi identificare il riquadro Sistema Windows e selezionare l’icona Prompt dei comandi.
  • Menu Start. Se hai un sistema operativo Windows 7, invece, devi aprire il menu Start e cliccare sulle voci Tutti i programmi e Accessori. Per concludere l’operazione, devi preme la voce Prompt dei comandi che vedi comparire sullo schermo.
  • Finestra Esegui. Se vuoi utilizzare questo sistema, devi schiacciare la combinazione di tasti Win+R e poi digitare al suo interno il comando cmd. Infine, devi premere il tasto Invio della tastiera.
  • Power menu. Se il tuo computer ha un sistema operativo Windows 8.1, devi cliccare sul tasto Start oppure premere la combinazione di tasti Win+X e selezionare l’apposita voce dal menu che compare.

Prompt: i comandi principali

Dopo aver visto come avviare il Prompt dei comandi, è il momento di passare ad alcuni semplici comandi che puoi utilizzare per prendere confidenza con lo strumento. Ecco i comandi che ti consigliamo di usare:

  • cd “percorso e nome cartella" – entra in una cartella;
  • dir – visualizza i file contenuti nella cartella corrente o in quella specificata come argomento;
  • tree – visualizza i file contenuti nella cartella corrente o specificata sotto forma di "albero", includendo eventuali sotto-cartelle;
  • chkdsk – effettua un’analisi del disco attuale o di quello specificato.
  • date – mostra ed eventualmente modifica la data corrente;
  • time – mostra ed eventualmente modifica l’ora corrente;
  • start NomeProgramma – avvia il programma specificato in una finestra indipendente;
  • tasklist – mostra la lista dei processi attivi sul sistema;
  • title NuovoTitolo – dà un titolo alla finestra del Prompt;
  • ver – mostra la versione del sistema operativo in uso;
  • hostname – mostra il nome del dispositivo;
  • exit – esce dal Prompt dei comandi.

Ora, grazie alla nostra guida, sei pronto per iniziare ad utilizzare il prompt dei comandi.