How To Write Down The Path To A File

Table of contents:

How To Write Down The Path To A File
How To Write Down The Path To A File

Video: How To Write Down The Path To A File

Video: How To Write Down The Path To A File
Video: Understanding File Paths 2024, November
Anonim

The full path to the file on any medium accurately indicates its location in the directory structure of the system. It lists all folders, starting with the root folder, that must be expanded to find the specified file. The name "path" accurately expresses the essence of this form of positioning - relatively speaking, it lists the inscriptions on the doors, which must be sequentially entered in order to get to the desired file.

How to write down the path to a file
How to write down the path to a file

Instructions

Step 1

Start recording the full path to the file with a drive letter if the file is located on one of the local media on this computer. This letter is assigned to all disk readers as well as virtual disks. The letter must be followed by a colon. For example: C:

Step 2

Use the (backslash) character as a directory separator when writing the full path to a file on Windows. Place this sign in front of each folder name and in front of the file name. For example: C: Program FilesAvirakeyHBEDV. KEY

Step 3

Start with two backslashes ("") if it contains the full path to a network share on Windows systems. The two slashes must be followed by the name of the computer on the network, and the rest of the file path must be written in the usual way. For example, the full path to the file.txt file located in the SharedDocs folder on a computer named HomeComp should be written like this: / HomeCompSharedDocsfile.txt

Step 4

Use a forward slash ("/") when specifying file paths on Unix systems. For example: /home/folderOne/file.txt

Step 5

Specify the type of protocol at the beginning of the full path to files located on the Internet. These addresses use forward slashes as separators. For example: httr: //kakprosto.ru/sites/all/themes/kp/logo.

Step 6

Use an abbreviated notation for the file path if it is sufficient to specify its location relative to some other file. For example, if the image file logo.png"

Recommended: