“Intro to Eclipse” Exercises
Exercise #3a: Using the File Explorer in Windows 7
Objectives: to be see what Eclipse is doing behind the scenes; to able to open a shell and perform basic commands
Once you have created your project, open the File Explorer and look at your Z: drive. Navigate in order to see that the following directories have been created:
Z:\workspace-win32\1710-lab01\
The directory Z:\workspace-win32\
is where all of your code should go for this course.
Now open a command shell. In windows, this is called the Command Prompt. Search the apps for "Command Prompt" and it should appear in the list of hits.
Once the command prompt is open, type the following:
Z:
You will see that this changes the drive to Z:
Then type:
dir
This will display the contents of your home directory. Then type:
cd workspace-win32
Let's do this again, this time taking advantage of filename completion. Type:
cd ..
to navigate back up one level in the file hierarchy.
Now we will go back into the workspace-win32 direct. This time, type:
cd w
and then hit 'tab'. The completion of "workspace-win32" should appear.
Once you are in the workspace-win32 directory, type:
dir
You can see that there is a 1710-lab01
directory there. Eclipse put it there when you created the project in the previous exercise.
Now type:
cd 1710-lab01
dir
This will show all of the files that are within the project directory (but there is nothing yet).