Chicago Python Workshop/Chicago Python Workshop 1/Friday/Windows terminal navigation: Difference between revisions
Content added Content deleted
imported>Codersquid (Created page with "__NOTOC__ The filesystem on your computer is like a tree made up of folders (also called "directories") and files. The filesystem has a root directory called <tt>/</tt>, and ...") |
imported>Aisha |
||
Line 36: | Line 36: | ||
<br /> |
<br /> |
||
====If you're using Windows XP or an earlier version==== |
|||
<pre>cd Documents and Settings</pre> |
|||
This will change you into the <code>Documents and Settings</code> subdirectory of the <code>C:\</code> directory. |
|||
<br /> |
|||
<pre>dir</pre> |
|||
You should see the names of all the files and directories in <code>C:\Documents and Settings</code>. |
|||
<br /> |
|||
<pre>cd ..</pre> |
|||
<code>..</code> means "parent directory", so this command moved you up to the parent directory. You were in <code>C:\Users</code>, so now you are in <code>C:\</code>, the root directory. |
|||
<br /> |
|||
<pre>dir</pre> |
|||
This lists the contents of the root directory, confirming where you are. |
|||
====If you're using Vista or Windows 7==== |
|||
<pre>cd Users</pre> |
<pre>cd Users</pre> |