1 00:00:00,270 --> 00:00:01,215 Welcome back. 2 00:00:01,215 --> 00:00:04,372 We're going to focus on a few things in this video. 3 00:00:04,372 --> 00:00:07,652 But let's start off with file paths. 4 00:00:07,652 --> 00:00:13,989 File paths are kind of addresses to where your files are on your computer. 5 00:00:13,989 --> 00:00:17,987 You'll need to know how to find your files when opening them in, 6 00:00:17,987 --> 00:00:22,002 say another program, or accessing them through the terminal. 7 00:00:22,002 --> 00:00:24,327 We'll get into that more later on. 8 00:00:24,327 --> 00:00:28,768 First, let's figure out what file paths are. 9 00:00:28,768 --> 00:00:31,255 I'm here in Documents again. 10 00:00:31,255 --> 00:00:34,306 I find the easiest way to visualize file paths 11 00:00:34,306 --> 00:00:37,206 is to change the view to this Columns view. 12 00:00:40,554 --> 00:00:43,626 Now as I click into this first folder, 13 00:00:43,626 --> 00:00:49,681 you can see that there was a file inside of that folder called index.html. 14 00:00:49,681 --> 00:00:57,688 If I had another folder, And 15 00:00:57,688 --> 00:01:03,607 let's say I'm just gonna copy, Paste, 16 00:01:07,056 --> 00:01:11,643 And you can see once I click into this new folder, then there's a file inside 17 00:01:11,643 --> 00:01:15,024 of that folder and it can just keep going on and on and on. 18 00:01:15,024 --> 00:01:19,895 So for instance, the navigation that we have to get 19 00:01:19,895 --> 00:01:24,766 to this index.HTML file is to go to Documents, and 20 00:01:24,766 --> 00:01:28,300 then click inside of my folder here. 21 00:01:28,300 --> 00:01:34,717 And then click inside of new folder, and then your file index.HTML. 22 00:01:34,717 --> 00:01:42,351 So the path is Documents > myFolderHere > new_folder > index.html. 23 00:01:43,867 --> 00:01:48,507 Moving backwards, this index.html 24 00:01:48,507 --> 00:01:53,002 files file path would be Documents > 25 00:01:53,002 --> 00:01:57,933 myFolderHere, and then index.html. 26 00:01:57,933 --> 00:02:00,694 So it just kind of works your way down the tree. 27 00:02:02,992 --> 00:02:06,537 Another common question in regards to files 28 00:02:06,537 --> 00:02:09,710 is where your downloaded files end up. 29 00:02:09,710 --> 00:02:15,272 We're going to navigate out of Documents and right below it into Downloads. 30 00:02:17,394 --> 00:02:23,054 This is a separate folder on your computer where your downloaded files will appear. 31 00:02:23,054 --> 00:02:28,308 So anything you download from your browser like Google Chrome, 32 00:02:28,308 --> 00:02:32,699 Firefox, or Safari, will all end up in this folder. 33 00:02:32,699 --> 00:02:37,307 To move files out of this folder and into your documents, 34 00:02:37,307 --> 00:02:44,128 you can either right-click them, copy them, go into Documents, and then paste. 35 00:02:47,242 --> 00:02:51,092 Or let me delete this one because we already have a file here. 36 00:02:53,793 --> 00:03:02,276 Or you can click and drag your file into your Documents, and there it is. 37 00:03:02,276 --> 00:03:07,239 And just like you can drag from your Downloads into your Documents, 38 00:03:07,239 --> 00:03:12,221 if I wanted this file to go into my folder, I can just click and drag. 39 00:03:12,221 --> 00:03:15,231 And now if I click this little arrow, 40 00:03:15,231 --> 00:03:20,097 you can see I now have two index files inside of that folder. 41 00:03:20,097 --> 00:03:24,873 And then similarly, if I wanted to move it into this folder, 42 00:03:24,873 --> 00:03:28,255 just click and drag to where it needs to go. 43 00:03:30,399 --> 00:03:35,140 Finally, I wanted to show you how to find files when trying to open them in 44 00:03:35,140 --> 00:03:36,395 another program. 45 00:03:36,395 --> 00:03:40,280 If you're joining us as a part of your coding journey, 46 00:03:40,280 --> 00:03:44,423 you might end up using something like Visual Studio Code. 47 00:03:44,423 --> 00:03:50,529 When I open the program it prompts me to create a new file or open a folder. 48 00:03:50,529 --> 00:03:53,665 What we want to do is open a folder, 49 00:03:53,665 --> 00:03:58,109 we want to go double-click into our Documents. 50 00:03:58,109 --> 00:04:03,473 And I'm just gonna ing to say let's double-click here into myFolderHere, 51 00:04:03,473 --> 00:04:06,536 so that we can get to this index.html file. 52 00:04:06,536 --> 00:04:12,137 And then I can hit Open, And now, you can see 53 00:04:12,137 --> 00:04:17,300 I still have access to that other folder with those other two files inside of it. 54 00:04:17,300 --> 00:04:23,453 And I've access to our index.html file here in Visual Studio Code. 55 00:04:23,453 --> 00:04:27,301 This same process will be incredibly similar with any 56 00:04:27,301 --> 00:04:31,412 other program that needs to open a file on your computer. 57 00:04:31,412 --> 00:04:34,720 In the next video we'll look at working with zips.