Java Reference
In-Depth Information
Figure A-20.
The “Command Prompt” window allows users to issue Windows commands interactively. The cursor
(the blinking underscore) indicates where the commands will appear when typed. To the left of the cursor, the default
directory followed by a > is displayed. To execute a command, type the command and simply hit Enter. As mentioned
earlier, everything you can do in Windows can be done with commands. We'll use the dir command an example.
2.
In the Command Prompt window, type dir , and press the Enter key.
Whoa, that was a lot of information!
The directory command ( dir ) displays the contents of a drive or directory (folder). In this case, we did not
specify what directory to display so the default directory was used. Figure A-21 shows that all the files and subfolders
contained in C:\Windows\system32 (the default directory), as well as, some information about each (date and time,
size, etc) and totals information for the directory. Notice that this is similar to double-clicking on a folder icon in the
My Computer window and displaying its contents (well, maybe not as pretty).
 
Search WWH ::




Custom Search