Basic DOS Commands for BIOS Pens and Window Preinstallation (PE) Environment

Command Prompt Type Summary

The command prompt is a useful environment to perform tasks such as updating BIOSes, retrieving log files or performing other diagnostic routines. There are four main types of command prompt:

Before running any diagnostic utilities or BIOS updates, you need to find out which one of the four command prompt types is required.

Basic Command Introduction

The commands below will help you to navigate and perform tasks in these situations.

Command Example
Table Of Commands

C:

Change to C: drive; similary A: D:

C:

CD

Change Directory. Thie will take you between folders.

CD\ will take you to the top of the directory

CD <directory name> takes you to that directory.

To change to another path, type the full path with slashes. e.g.
CD \WINDOWS\SYSTEM

DIR
Displays the contents of a directory (folder)

DIR *.LOG Will show all .log files in folder

RENAME
Rename a file. You must use the full file name.
REN <OLDNAME.EXE> <NEWNAME.EXE>
MD
Make directory. Creates a new directory below the current one.
MD <NEWDIR> creates a new directory called Newdir

COPY

The copy command allows you to copy from one location to another
 

COPY LOCATION\FILENAME.EXTENSION LOCATION\NEWNAME.EXTENSION will copy the file to the new location


 

HELP
Displays DOS Help. For help on an individual command, type HELP then the command for which you want more information.
HELP DIR displays information on the DIR command.

Note: Commands inside the command prompt are almost always not case sensitive, which means that they can be typed lower or uppercase or even a combination.

Applies to:



Article ID: 307
Last updated: 17 Apr, 2014
Revision: 4
Stone Branded Products -> Desktop PCs and All-in-One (AIO) -> Troubleshooting -> Basic DOS Commands for BIOS Pens and Window Preinstallation (PE) Environment
https://kb.stonegroup.co.uk/index.php?View=entry&EntryID=307