Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Computer Fundamentals (Windows)!
You have completed Computer Fundamentals (Windows)!
Preview
Learn how to interact with your files and navigate your folders.
Moving Files
- Copying will keep a file in the current location and then add another file to the new location (end with 2 files in 2 locations)
- Cutting will remove the file from the current location and then places the file in the new location (end with 1 file in 1 location)
- Moving will move the file from the current location to the new location (end with 1 file in 1 location)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Welcome back.
0:00
We're going to focus on
a few things in this video.
0:01
But let's start off with file paths.
0:03
File paths are kind of addresses to
where your files are on your computer.
0:07
You'll need to know how to find your files
when opening them in another program or
0:12
accessing them through the terminal.
0:17
We'll get to that more later on.
0:20
First, let's figure out
what file paths are.
0:22
I'm here in Documents again, and
0:26
I find the easiest way to visualize file
paths is to watch this bar right here.
0:28
You can see right now, it says,
This PC, and then Documents
0:37
because we're on This PC, and
inside of the Documents folder.
0:41
Now, if I click into this
folder here that we created,
0:47
you can see now I have Documents,
then I'm inside of my_folder_here.
0:51
If I click this little button,
you can see I'm inside of This PC,
0:57
my Documents, my_folder.
1:01
So it just dives deeper
into the file structure.
1:05
Now, if I had a file inside
of this folder, click and
1:12
drag to move this inside of this folder.
1:17
We would say that my index
here is on This PC under my
1:21
Documents inside of my_folder_here, and
1:26
then we can access myIndexHere,
this HTML file.
1:30
Another common question in regards to
files is where your downloaded files
1:38
end up.
1:43
Let's navigate out of our Documents and
into the Downloads folder.
1:44
You can see it's right
here above Documents, and
1:49
it has this little
Downloads arrow buttons.
1:52
This is a separate
folder on your computer,
1:56
where your downloaded files will appear.
1:59
So anything you download from
your browser like Google Chrome,
2:02
Firefox, it will all
end up in this folder.
2:07
To move files out of this folder and
into your documents,
2:11
you can either right click and copy them.
2:15
This will leave a version of the file
here, and make a copy to put
2:19
into your documents, or I'm just
going to delete this for right now.
2:25
You can choose to Cut, which will remove
the file from your Downloads folder,
2:33
and it will put it here
inside of your Documents.
2:40
Now, the last way that you can move
files around is you can actually just
2:46
drag them into these different folders.
2:51
So I can move it from
Downloads to Documents.
2:55
And then when I click over, there it is.
2:58
Finally, I wanna show you how to find
files when trying to open them in another
3:04
program.
3:08
If you're joining us as a part
of your coding journey,
3:10
you might end up using Visual Studio Code.
3:13
When I open up Visual Studio Code,
3:17
you can see it gives me a few
things to start off with.
3:18
We wanna start with Open Folder.
3:22
I highly suggest putting all of your
project files inside of a folder to
3:24
keep track of everything.
3:29
You can navigate to Documents.
3:31
Then let's go to my_folder_here.
3:33
And I'm going to click the button
that says Select Folder.
3:36
I can close out of that get started,
and you can see I have MY_FOLDER_HERE.
3:41
Let me zoom this in a little bit so
it's a little bit easier to see.
3:46
And then you can see I have that file
we were playing around with earlier,
3:51
myIndexHere.
3:55
And if I click on it, it opens it
up here in Visual Studio Code so
3:56
I can edit it to my heart's desire.
3:59
In the next video,
we'll talk about zipped files.
4:06
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up