Java Reference
In-Depth Information
8. Click the OK button.
The Command Prompt window displays white text with a font size of 12
16 pixels (Figure D-9).
Command
Prompt
window
white text
with 12 x 16
font size
FIGURE D-9
OTHER WAYS
Changing Drives and Directories
1. Click Start button,
click Run, type cmd ,
click OK button
Operating system commands help programmers with file maintenance,
peripheral control, and other system utilities. When you compile and run
programs using the Command Prompt window, you need to issue some
commands to the operating system, so that the Java SDK can find your files.
If you save your programs on the Data Disk in drive A, for example, you will
need to log on or instruct the operating system to access drive A. To change to a specific drive, users
type the drive letter followed by a colon (:) at the command prompt. To change to a specific directory
or folder on the drive, users type the command, cd , followed by the folder name. On most systems, the
command prompt changes to reflect access to the new storage location.
The steps on the next page change the drive and directory to drive A and the Appendices
folder created when you download the Data Disk. See the preface of this topic for instructions for
downloading the Data Disk or see your instructor for information about accessing the files required in
this topic.
 
Search WWH ::




Custom Search