当前位置:网站首页>Forward and backward slash notes
Forward and backward slash notes
2022-07-28 06:58:00 【wr_01】
Forward slash , Symbol is "/"
Backslash , Symbol is ""
The use of forward and backward slashes in different operating systems
Unix Only use slashes in (" / "), As a directory separator
because web follow unix name , So on the website (URL) in ,/ Presentation directory .
Linux At present, both forward and backward slashes support
windows Both forward and backward slashes are supported in the system
- Forward slash / Usually used to segment Command line Parameters ,
- The backslash \ Presentation directory ,windows For local path \, Such as C:\windows\system32.
windows Time , Many times, there is no interference of command line parameters , Plus the expansion of network usage , Now slashes and backslashes can be interchanged , No impact
In programming, we sometimes see such path writing ,C:\windows\system32 , That is to use two backslashes to divide the path . in fact , The above path is equivalent to C:/windows/system32 .
But if it's written C:\windows\system32 , Then there may be all kinds of strange mistakes .
stay DOS in , The backslash is followed by the path , That's the file name , The slash is followed by DOS Parameters , such as
C:\windows\system32 … The backslash is followed by the file name
C:\dir/p … The forward slash is followed by a command line parameter
边栏推荐
- SSH服务配置
- Hdu-2036-reform spring breeze blowing all over the ground (polygon area template)
- Technology sharing | send requests using postman
- Hdu-1097-a hard puzzle (fast power)
- 一、PXE概述和安装
- Iptables firewall
- Wechat applet custom compilation mode
- On cookies and session
- Life cycle (process) of software testing
- Custom components -- slots
猜你喜欢

Method of designing test cases

Detailed explanation of LNMP construction process

Technology sharing | send requests using postman

技术分享 | 接口测试价值与体系

DNS正向解析实验

Wechat applet custom compilation mode

raid磁盘阵列

KVM热迁移

It is recommended to wear air conduction earphones, which do not need to wear in ear

JS reverse question 100 - question 1
随机推荐
Qgraphicsview promoted to qchartview
Hdu-1159-commonsubsequence (LCS longest common subsequence)
QT使用MSVC编译器输出中文乱码问题
LNMP搭建过程详解
C language memcpy library functions and the role of memmove
DNS domain name resolution service
网络——网络层
HDU-5783 Divide the Sequence(贪心水题)
Custom component -- pure data field & component life cycle
MySQL主主
Hdu-1097-a hard puzzle (fast power)
Network - data link layer
技术分享 | 实战详解接口测试请求方式Get、post
Technology sharing | send requests using postman
MySQL常用命令
修复故障扇区
Which brand of air conduction earphones is good and highly praised
Test interview questions collection (II) | test tools (with answers)
链表中结点的插入和删除
MySQL master-slave