How to navigate in the DOS command prompt Come navigare nel prompt dei comandi DOS
Posted on February 25, 2008 at 7:04 am Posted on February 25, 2008 7:04 am
Earlier today I had to boot a clients computer into Safe Mode and delete a virus via the DOS command prompt because if Windows loaded, the file would become locked and hence undeleteable! Oggi ho avuto prima di avviare un client di computer in modalità provvisoria ed eliminare un virus tramite il prompt dei comandi DOS di Windows, perché se caricato, il file potrebbe diventare bloccata e quindi undeleteable! There are several other reasons why you may have to use the command prompt in your life (though rarely), so it’s good to know how to navigate your way around! Ci sono varie altre ragioni per cui può essere necessario utilizzare il prompt dei comandi e la vostra vita (anche se raramente), quindi è bene sapere come il vostro modo di navigare intorno!
If you’ve been wanting to learn how to use the command prompt in Windows, I’ll go through some of the basic MS DOS commands that are performed most often. Se siete stati che vogliono imparare ad utilizzare il prompt dei comandi di Windows, avrò bisogno di passare attraverso alcuni dei comandi di MS DOS di base che vengono eseguite più frequentemente. Just so everyone’s on the same page, you can get to the command prompt by going to Start and then click on Run and typing in CMD . Appena sono tutti sulla stessa pagina, si può arrivare al prompt dei comandi andando a fare clic su Start, quindi su Esegui e digitando CMD.
You’ll now see a large black window with the cursor at the end of the path to your user profile in C:\Documents and Settings\Username. Puoi ora vedere una grande finestra nera con il cursore alla fine del percorso per il tuo profilo utente in C: \ Documents and Settings \ nome utente. So what to do now!? Allora cosa fare adesso? Well, since I can’t explain everything, you’ll probably want to end up using some of the help guides that are provided in MS DOS itself by typing in HELP and pressing Enter. Beh, visto che non posso spiegare tutto, avrete probabilmente vogliono finire utilizzando alcune delle guide che sono forniti in modalità MS DOS stesso digitando AIUTO e premendo Invio.
When you do that, you’ll get a list of all the commands you can use in MS DOS and a short description of what they do: Quando si farlo, si otterrà una lista di tutti i comandi che si possono usare in modalità MS DOS e una breve descrizione di quello che fanno:
You can also find out more detailed information about the parameters and how to use each command by typing in the command name followed by a /? . È anche possibile scoprire informazioni più dettagliate circa i parametri e le modalità di utilizzo di ogni comando digitando il nome del comando seguito da un /?. For example, typing in CD /?, will present you with a quick tutorial on how to use the CD command: Ad esempio, digitando CD /?, Si presenterà con un breve tutorial su come usare il CD di comando:
As you can see from above, the MS DOS command CD displays the name of or changes the current directory. Come si può vedere da sopra, il CD di comando MS DOS visualizza il nome di cambiamenti o la directory corrente. So if you wanted to change from the default user profile directory to let’s say the Windows System32 directory to delete a virus file, you would type in the following to navigate to that directory: Quindi, se si volesse cambiare il profilo utente predefinito directory diciamo la directory System32 di Windows per eliminare un virus file, digitare il seguente per navigare in quella directory:
cd c:\window\system32 and press Enter Cd c: \ finestra \ system32 e premere Invio
You current directory at the prompt will now change to: Voi directory corrente al prompt ora di cambiare:
Now that you are in that directory, you may want to view all of the files and directories first, so you can type in the command DIR and press Enter. Ora che siete in quella directory, è possibile che si desideri visualizzare tutti i file e le directory in primo luogo, in modo da poter digitare il comando DIR e premere Invio. You’ll now get a giant list of all of the files and folders in that directory. Puoi ora ottenere un gigante elenco di tutti i file e le cartelle in quella directory. You can type in DIR /? and see what parameters you can pass to it. Potete digitare DIR /? E vedere quali parametri si possono passare.
As you can see, you could type in DIR /P to give the list in a paginated format that you can browse through slowly. Come si può vedere, si potrebbe digitare DIR / P di dare l'elenco pagine in un formato che è possibile scorrere lentamente. Or you could type in DIR /W to get the list in a wide format rather than one single column. In alternativa è possibile digitare DIR / W per avere la lista in un grande formato, piuttosto che una sola colonna. The cool thing about DOS is that you can include several parameters for each command, so you could type in DIR /P /W and get a page by page view along with wide format: La cosa più cool DOS è che si può comprendere diversi parametri per ogni comando, in modo che tu possa digitare DIR / P / W e ottenere una pagina con la visualizzazione di una pagina di grande formato:
There are lots of other commands that you can use to do all sorts of stuff like copy files, make directories, print text files, delete files, etc. So if you can do most of this stuff in Windows using the GUI interface, then why bother with DOS, right? Ci sono molti altri comandi che si possono usare per fare ogni sorta di cose, come la copia dei file, le directory fare, la stampa di file di testo, eliminare i file, ecc Quindi, se si può fare la maggior parte di questo materiale in Windows utilizzando l'interfaccia GUI, perché allora Noie con il DOS, giusto?
Well, the cool thing is that any command you type in the command prompt, like we showed above, can be saved into a file with a .BAT extension and run anytime by just clicking on the file or can be scheduled to run using the Windows Scheduled Tasks Control Panel applet. Ebbene, il fresco è che qualsiasi cosa si digita il comando nel prompt dei comandi, come abbiamo mostrato in precedenza, possono essere salvati in un file con estensione. BAT estensione ed eseguire in qualsiasi momento, semplicemente cliccando sul file o può essere programmato per funzionare con Windows Operazioni pianificate del Pannello di controllo.
So if you want to be able to routinely perform some simple actions on your computer, like copying files from one folder to another, just type the commands into Notepad and save the file with a .BAT extension instead of as a text file. Quindi, se si vuole essere in grado di eseguire di routine alcune semplici azioni sul tuo computer, come la copia dei file da una cartella a un'altra, è sufficiente digitare i comandi nel Blocco note e salvare il file con estensione. BAT estensione anziché come un file di testo. Basically, you have to choose All Files for the File Type option and then type in the name like “MyFile.bat” with the quotes included. Fondamentalmente, dovete scegliere Tutti i file per i tipi di file opzione e quindi digitare il nome come "MyFile.bat" con le virgolette incluse.
A couple of other very useful commands that you might have to end up using are listed below: Un paio di altri comandi molto utili che potete avere fino a fine utilizzando sono elencati di seguito:
- chkdsk - Verifies a hard disk or a floppy disk for file system integrity. Chkdsk - Verifica di un disco rigido o su un disco floppy per l'integrità del file system.
- copy - Copies files from one location to another. Copia - di copiare i file da un luogo ad un altro. The destination defaults to the current directory. La destinazione di default per la directory corrente. If there are multiple source files, the destination must be a directory or else you will get an error. Se vi sono più file di origine, la destinazione deve essere una directory o altro, si ottengono un errore.
- fc - Compares two files or sets of files and displays the differences between them Lui - Confronta due file o set di file e visualizza le differenze tra di esse
- fdisk - Manipulates hard disk partition tables. Fdisk - Manipulates tabelle di partizione del disco rigido. When run from the command line, it displays a menu of various partitioning operations. Quando viene eseguito dalla riga di comando, viene visualizzato un menu di varie operazioni di partizionamento.
- format - Delete all the files on the disk and reformat it for MS-DOS. Formato - Elimina tutti i file sul disco e riformattare per MS-DOS. Use mostly for formatting floppy disks or other removable disks. Utilizzare per la maggior parte per la formattazione dei floppy disk o altri dischi rimovibili.
- scandisk - Disk diagnostic utility that is a replacement for the CHKDSK utility. Scandisk - utilità di diagnostica del disco che è un sostituto per il programma di utilità CHKDSK.
- SFC - System File Checker - Scans all protected system files and replaces incorrect versions with correct file versions. SFC - Controllo file di sistema - la scansione di tutti i file di sistema protetti e sostituisce le versioni con versioni corrette dei file.
That should hopefully get you up and running on how to use and navigate in the MS DOS command prompt! Che dovrebbe auspicabilmente farti installato e funzionante su come usare e navigare nel prompt dei comandi di MS DOS! If you have a question, please post a comment! Se avete una domanda, si prega di inviare un commento! Enjoy! Buon divertimento!
Technorati Tags: Technorati: navigate command prompt Navigare prompt dei comandi , navigate dos command prompt Navigare dos prompt dei comandi , ms dos command prompt Ms dos prompt dei comandi , ms dos commands Ms dos comandiIf you enjoyed this post, make sure you Se si godeva questo post, assicuratevi di subscribe to my RSS feed Iscriviti al mio feed RSS ! !
» Filed Under Archiviato in » Computer Tips Suggerimenti per computer
Related Posts Related Posts
- How to delete undeletable files in Windows (Part 1) Undeletable come eliminare i file in Windows (Parte 1)
- Another way to hide files and folders in Windows XP Un altro modo di nascondere i file e le cartelle in Windows XP
- How to access Mac files on a Windows PC Come accedere Mac file su un PC Windows
- Find and remove duplicate files with Duplicate Cleaner Trovare e rimuovere le lime duplicate con duplicati Cleaner
- Enso Launcher - Forget All Your Windows Shortcuts Enso Launcher - dimenticare tutte le vostre finestre scorciatoie
























