当前位置:网站首页>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
边栏推荐
- C language memcpy library functions and the role of memmove
- MySQL master-slave
- Mongo SSL configuration practice
- cocos2d-x 学习笔记——瓦片地图TiledMap
- Scratch command
- NAT和PAT的原理及配置
- 网络——传输层(详细版)
- 测试面试题集锦(二)| 测试工具篇(附答案)
- Shell script -- program conditional statements (conditional tests, if statements, case branch statements, echo usage, for loops, while loops)
- raid磁盘阵列
猜你喜欢

FTP服务

shell脚本——“三剑客”之awk命令

Qgraphicsview promoted to qchartview

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

Repair the faulty sector

Wechat applet custom compilation mode

What is the good brand of air conduction Bluetooth headset and the best brand recommendation of air conduction headset

MySQL主主

shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)

CentOS7部署MySQL数据库服务器
随机推荐
It is recommended to wear air conduction earphones, which do not need to wear in ear
Network - network layer
Hdu-5805-nanoape loves sequence (thinking questions)
FTP service
Scratch command
Test interview questions collection (I) | common required questions and procedures of software testing (with answers)
技术分享 | 服务端接口自动化测试, Requests 库的这些功能你了解吗?
Insertion and deletion of nodes in linked list
Hdu-1097-a hard puzzle (fast power)
Applets: lifecycle
On cookies and session
技术分享 | 使用postman发送请求
Vmware workstation configuration net mode
How to describe a bug and the definition and life cycle of bug level
防火墙——iptables防火墙(四表五链、防火墙配置方法、匹配规则详解)
DHCP原理与配置
Hdu-5783 divide the sequence (greedy water question)
Shell script -- program conditional statements (conditional tests, if statements, case branch statements, echo usage, for loops, while loops)
raid磁盘阵列
DNS domain name resolution service