Large inventory of Path Problems and large inventory of paths
1. physical path
The physical path is Physicalpath, which refers to the file path in the hard disk. For example, the following file location representation method:
D: \ A \ B \ a.html
D: \ A \ B \ C \ B .html
D: \ A \ B \ C \ c.html
D: \ A \ B \ C \ D \ d.html
2. Relative Path
The full name of relative paths is RelativePath. The following uses the example above to understand its usage in three aspects.
1. Files in the same directory
B .htmland c.html are under the same folder. If B .html#is linked to c.html, you can write in B .html as follows:
<A href = "c.html"> file links in the same directory </a>
2. Files in the parent directory
A.html is a file in the upper-level directory of B .html and c.html. If B .html or c.html is linked to a.html, you can write it in B .html or c.html as follows:
<A href = "../a.html"> link to a file in the parent directory </a>
In the Code, "../" indicates the upper-level directory (separated by a directory). In ".../../", write:
<A href = ".../../a.html"> link to the file in the upper-level directory of the upper-level directory </a>
3. Files in the lower-level directory
B .html and c.html are the files in the.html directory. If you want to link B .html in a.html, write them in a.html as follows:
<A href = "C/B .html"> link to a file in the lower-level directory (C) </a>
If the connector is linked to d.html in a.html, you can write it in a.html as follows:
<A href = "C/D/d.html"> link to a file in the lower-level directory (C/D/) </a>
3. absolute path
The full name of the absolute path is AbsolutePath, which contains the URL. For example, if you have A domain name www.lfsy.com whose domain name points to D: \ A, then the above four files can be expressed as follows:
<A href = "http://www.lfsy.com/ B /a.html"> chain to a.html </a>
<A href = "http://www.lfsy.com/ B /C/ B .html"> link to B .html </a>
<A href = "http://www.lfsy.com/ B /C/c.html"> chain to c.html </a>
<A href = "http://www.lfsy.com/ B /C/D/d.html"> chain to d.html </a>
Iv. root directory
The full name of the root directory is Rootdirectory, and the domain name before the absolute path is the root directory, so it can be understood as the top directory of the website. Its representation is as follows:
<A href = "/B/a.html"> link to a.html </a>
<A href = "/B/C/B .html"> link to B .html </a>
<A href = "/B/C/c.html"> link to c.html </a>
<A href = "/B/C/D/d.html"> link to d.html </a>
Summary:
A physical path can be used to Access a database or not use a web server. The root directory and absolute path are easy to use. They are all searched from the top directory of the website and checked down at the first level. Their disadvantage is that the program is not easy to transplant. Relative paths are most commonly used in website creation. Distinguish between these paths and avoid file failures when creating hyperlinks.
For Path Problems
URL
A Uniform Resource Locator (URL, abbreviated as "Uniform Resource Locator") is also called a webpage address, which is a standard Resource address on the Internet. It was originally invented by Tim berneas-Lee as the address of the World Wide Web. Now it has been compiled into the Internet standard RFC1738 by the World Wide Web alliance.
In the history of the Internet, the invention of a uniform resource locator is a very basic step. The syntax for unified resource locator is general and extensible. It uses part of the ASCII code to represent the Internet address. Generally, the beginning of a uniform resource identifier indicates the network protocol used by a computer network.
UNC
Unc sharing refers to the sharing of network hard disks!
What is a UNC path?
The UNC path is mentioned in many places. What is a UNC path?
What is a UNC path? The UNC path is a network path similar to \ softer. It complies with the \ servername \ sharename format, where servername is the server name and sharename is the name of the shared resource. The UNC name of a directory or file can include the directory path under the shared name in the format of \ servername \ sharename \ directory \ filename.
For example, the shared folder named it168 on softer is \ softer \ it168 in UNC, if it is the default management share C $ of softer computer, \ softer \ c $ is used.
The familiar command line access method should be called the UNC path access method.
Local path
Is the disk path of the local computer.
For example, D: \ CY2002 \ DA \ IS \
Internet connection path
Is the network address
Example: www.163.com
Www.baidu.com
Path Problems
If the game you installed does not change the registry, you can copy the Game On drive C to drive D directly.
For example, the game you installed is in C: \ game
Then, you only need to copy the game folder under drive C to drive D.
Currently, more than 98% of games are automatically started. That is to say, no matter where you put the game folder, the game can be started normally.
Another 2% of games are troublesome. These games are relatively mentally retarded. When you change the registry, you cannot start the game if you change the folder. Put it back and try again. The simplest way for such games is to reload them. If you really don't want to reinstall it, you have to know a little about the Registry. You have to change the Registry. For example, you moved the C: \ game folder to D: \ game.
Now, go to the registration table and click "regedit.exe ".
Search for C: \ game and replace it with D: \ game.
Remember, all of them must be replaced. In this case, you can restart the machine. Of course, there are less than 0.2% of games, and this method is still not good, because its "encryption" Technology is too "high", there is no way, such games do not play, there are more fun games on the market.