Why is the slash between http and file path different?

Updated on society 2024-04-06
20 answers
  1. Anonymous users2024-02-07

    In UNIX Linux, paths are separated by forward slashes"/", while in Windows, path separation is with backslashes"\"。

    More than 30 years ago, when Tim Berners-Lee created the World Wide Web, Unix had an advantage in terms of servers, or perhaps Microsoft did not provide the current IIS or anything like that, so the path of the World Wide Web followed the Unix specification.

  2. Anonymous users2024-02-06

    In IE, there is little difference between the two in the browser's address bar. If it's an operating system, different systems have different usages. There are also windows local paths for example

    For example, C: Windows System32 network is generally used

    file:///d:/

    In addition, forward slashes are commonly used in Windows to separate command line arguments, indicate options, etc. Cannot be used as a file name.

  3. Anonymous users2024-02-05

    The forward slash and the backslash in the path are not the same, the differences are:

    1. The applicable systems are different:

    In Windows, it is used to represent directories. In the UNIX system, the directory is represented.

    2. The conditions for using the web path are different

    Since the web follows the UNIX naming, in **(url), represents the directory. For example, the path that appears in the html url() attribute specifies a network path, so you must use a slanted bar.

    If the URL is followed by a backslash, no background will be displayed.

    3. The path of the representative is different:

    The path that appears in a normal string, if it represents a windows file path, then using a slash and a backslash is the same; If you represent a network file path, you must use a slanted bar. "src" means that the src folder in the current directory; “.

    "src" indicates the src folder in the directory one level above the current directory;

  4. Anonymous users2024-02-04

    is the path to the file, such as C: Windows System ......

    It is used to add parameters to the dos command, dir - show disk directory command.

    1.Function: Displays the contents of the disk directory.

    2.Type: Internal command.

    3.Format: dir [drive letter] [path] [p] [w].

    Instructions for use: use of p; When there are too many directories to view, the screen will be scrolled up after the screen cannot be displayed on one screen, and it is not easy to see clearly, after adding the p parameter, the screen will display 23 lines of file information at a time, and then pause, and prompt; press

    any key to continue

    Use of w: Add w to show only the file name, the file size and the date and time of creation are omitted. With the addition of parameters, each line can display five file names.

    UNIX uses a diagonal bar as a path separator, while web applications on UNIX systems use a diagonal bar as a separator for all network addresses.

    Since Windows uses the diagonal bar as the parameter flag of the DOS command prompt, in order not to be confused, it uses the backslash as the path separator. So the current file explorers on Windows use backslashes as path separators.

    2) Use backslashes on Windows file explorers;

    3) The path that appears in the html url() attribute, the specified path is the network path, so you must use a diagonal rod; If the URL is followed by a backslash, no background will be displayed.

    4) The path that appears in a normal string, if it represents a windows file path, then use the slash bar and backslash are the same; If you represent a network file path, you must use a slanted bar.

    The local file path, and are equivalent.

    Network file paths, be sure to use a diagonal bar

  5. Anonymous users2024-02-03

    The forward slash denotes division, separation. In Windows, it is commonly used to separate command-line arguments, represent options, etc. Cannot be used as a file name.

    In the UNIX system, the directory is represented. Since the web follows the UNIX naming, in **(url), represents the directory.

    The backslash is used to represent directories in Windows.

    Computer operating systems are different.

    For example, the windows local path is used

    For example, C: Windows System32 network is generally used

    file:///d:/

  6. Anonymous users2024-02-02

    The main difference between Windows and Linux environments! The physical path under win is , and under linux is , but generally with , compatibility has been guaranteed, and if you use then there may be problems on linux. Pure hand-played, hope to adopt.

  7. Anonymous users2024-02-01

    It is a diagonal punch.

    It's a backslash. The backslash is wrong. No need for him to say. Except for the special bird, most netizens know about it.

    Feiepei, you are just as boring as that founder. HTTP colons, and slashes, can be omitted. You are. baichi。

    I can't tell the difference between the forward and backward slashes, and I think I want to analyze what rigorous reading socks and dressing up agreement.

  8. Anonymous users2024-01-31

    Because he is superfluous. This Chang infiltration is completely meaningless in Zhengzhou. But the inventor of the Internet used this in the first place, so it has been used ever since

  9. Anonymous users2024-01-30

    First, the system is different.

    1. " ":" " is generally used in UNIX system and Windows system.

    2. "Generally used in DOS system and Windows system.

    Second, the shared files are different.

    1. " ": You need to use " " for the client path to access the shared file, and you can use " " for the internal directory path.

    2. "Do not use the client path when accessing the shared file" "The internal directory path can be used "".

    3. Visits are different.

  10. Anonymous users2024-01-29

    First, the use of operating systems is different.

    1. " ": Used in other operating systems, such as Linux.

    2. "Only used in Windows system.

    Second, the reasons are different.

    2. "Windows uses the oblique bar as the parameter flag of the DOS command prompt, so in order not to be confused, the backslash is used as the path separator.

    Third, the use of different locations.

    1. "": In most cases in the Windows system, slashes and backslashes can be used interchangeably, and only backslashes can be used in special cases.

  11. Anonymous users2024-01-28

    In the case of different systems, it is under Windows, Linux and Unix, but there is no essential difference in Win.

    But since is also the starting character of the escape character, the 's in the path usually needs to be used if it is, and the escape is not required.

    For example, c Chinese operation, c: kkk c: kkk is the same.

  12. Anonymous users2024-01-27

    For local Use for network connection addresses.

  13. Anonymous users2024-01-26

    3 all ""."/"and " are both used as separators for directory paths.

    /""Generally used on the network;

    "It is generally used in the file path of Windows or the path of the registry;

  14. Anonymous users2024-01-25

    There's no need to drill into the horns, always remember that " " is used on the system, and " " is generally used on the network, and their usage depends on the specific use of the software field.

    As you can see it all, whether it is " " or " ", it is generally the function of separating the directory path.

    In the system it can also be used as a delimiting parameter or for a division sign.

    Always dig deeper into these problems, and the things on the computer will never be finished, and often this will waste a lot of time.

    Your directory is a web page support help file, which exists in your system and has **chm help format, which means that this is an offline document, which may cause a heterozygous directory.

  15. Anonymous users2024-01-24

    They are all path separators, mainly because the specified characters are different, and the meanings are basically the same.

    Windows, DOS generally use " " and "UNIX systems and network standards generally use " ".

    As for "such as"i:\computerscience\"Why and alternate here? ”

    That is, the delimited characters are different, and the identification method and protocol of the internal path of the archive file are different.

  16. Anonymous users2024-01-23

    In the case of different systems.

    It is under Windows, Linux and Unix, but there is no essential difference in Win.

    But due to. It is also the starting character of the escape character, so, in the path.

    It is usually required.

    If yes. There is no need to use escaping.

    Such as c Chinese operation, c: kkk

    C: KKK is the same.

  17. Anonymous users2024-01-22

    It is the separator of the path in the Linux system, and it is the delimiter of the Windows system.

  18. Anonymous users2024-01-21

    It looks like this file of yours is a virus .........

  19. Anonymous users2024-01-20

    Slashes are used a lot in URLs.

    For example, backslashes are only used on the server side.

    Like what. \upload\

  20. Anonymous users2024-01-19

    Since Windows uses the diagonal bar as the parameter flag of the DOS command prompt, in order not to be confused, it uses the backslash as the path separator. So the current file explorers on Windows use backslashes as path separators. With the development, the DOS system has been obsolete, the command prompt is rarely used, and the diagonal bar and backslash are interchangeable in most cases without effect.

    Knowing this background, one can summarize the conclusions:

    2) Use backslashes on Windows file explorers;

    3) The path that appears in the html url() attribute, the specified path is the network path, so you must use a diagonal rod;

    Copy **** as follows:

    If the URL is followed by a backslash, no background will be displayed.

    4) The path that appears in a normal string, if it represents a windows file path, then use the slash bar and backslash are the same; If you represent a network file path, you must use a slanted bar.

    Copy **** as follows:

    The local file path, and are equivalent.

    Network file paths, be sure to use a diagonal bar

    That's basically the difference between a slash and a backslash, so let's talk about relative and absolute paths.

    Copy **** as follows:

    src is written like this, indicating that the src folder in the current directory;

    src is written like this, indicating that the src folder in the directory one level above the current directory;

    src is written like this to indicate the root directory of the project (which can only be the root directory of the disk, or it can refer to the root directory of the project, depending on the actual situation).

Related questions
9 answers2024-04-06

A path is a path that is local to a computer and starts with a drive letter, such as c:, d:temp, and so on. >>>More

13 answers2024-04-06

You save the path in an XML and read it out the next time you start it.

5 answers2024-04-06

You see if you started the asp parsing file.

10 answers2024-04-06

This file can only be opened with Camtasia Studio first, and then converted to other formats, after installation, open a green icon Camtasia Studio file, drag your file to the box with ** on the right, and then click the file right-click - Properties - the penultimate item is not the third item. He can convert a lot of formats, but it's best to configure it when recording, his default recording format is camrec, you can set it to other formats, and the general **device can**.

3 answers2024-04-06

Summary. 1 5 The file that needs to be opened can be opened by pressing the up, down, left, right and enter keys. 2 5 Use the Alt+Tab key to switch the open file view until the view needs to be closed. >>>More