Skip to main content
Banner graphic with text description of the course website

“Intro to Eclipse” Exercises

LAB #01 Exercise #3: Using a Shell and the File Explorer



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.

You will see that the following directory has been created: Z:\workspace-win32\1710\

This is where all of your code should go for this course.

You have been allocated a home directory on a linux file server, and that linux machine lives on the second floor of the Lassonde Building. When you login to any lab machine, that linux directory gets mounted as the Z: drive. When you log out and another student logs in, that student's home directory will be mounted as Z:. The C: drive contains the files that live on the lab machine. You shouldn't put stuff there.

Now open a command shell in windows. This is also called the Command Prompt. How to actually do this depends on the particular version of Windows (they like to change it each and every time there is a different version. Ok, this may be an exaggeration, but the gist is basically true). The TA will show you how to do this.

Type the following:
Z:
this changes the drive to Z:

Then type
dir


This will display the contents of your home directory. Then type:
cd workspace-win32
dir


You can see that there is a "1710" directory there. Eclipse put it there when you created the project in the previous exercise.

Now type:
cd workspace-win32
dir


You can see all of the files that Eclipse places in the project directory.

(In another lab, we'll start up a remote linux shell and access your home directory directly on the linux machine).