当前位置:网站首页>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
边栏推荐
- Technology sharing | do you know the functions of the server interface automated testing and requests library?
- MySQL master-slave
- Array to linked list
- PKU-2739-Sum of Consecutive Prime Numbers(筛素数法打表)
- shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)
- Custom components -- slots
- NFS shared storage service
- Technology sharing | how to simulate real use scenarios? Mock technology to help you
- [learning notes] linked list operation
- Detailed explanation of LNMP construction process
猜你喜欢

Principle and configuration of NAT and pat

思寒漫谈测试人职业发展

cocos2d-x 学习笔记——瓦片地图TiledMap

C language memcpy library functions and the role of memmove

MySQL主主

Custom component -- data listener

Technology sharing | how to simulate real use scenarios? Mock technology to help you

防火墙——iptables防火墙(四表五链、防火墙配置方法、匹配规则详解)

shell脚本——正则表达式

What is the most practical gift for Tanabata? A gift that will never go wrong is worth buying
随机推荐
JS四则运算重新封装,解决精度丢失问题
shell脚本——正则表达式
Technology sharing | do you know the functions of the server interface automated testing and requests library?
测试人生 | 二线城市年薪超40W?疫情之下涨薪100% + 是怎么做到的?
---Stack & queue---
Compilation and preprocessing of C language
Common models in software development
Technology sharing | sending requests using curl
[learning notes] tool
Custom components -- styles
What's a good gift for Tanabata? Niche and advanced product gift recommendation
QT使用MSVC编译器输出中文乱码问题
shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)
网络——传输层(详细版)
测试面试题集锦(三)| 计算机网络和数据库篇(附答案)
VMware Workstation 配置net模式
Ten thousand words summarize and realize the commonly used sorting and performance comparison
遍历 二叉树
QGraphicsView提升为QChartView
Iptables firewall