当前位置:网站首页>Relative path and absolute path
Relative path and absolute path
2022-07-26 17:58:00 【Times & Beliefs】
brief introduction :
Absolute path : The real path of the target file on the hard disk ( Most accurate path )
Relative paths : Path relative to the current file location
“./” Represents the current directory .
" . ./" Represents the previous level directory .
“/” Represents the root directory .
For example :
1、 The file is in the current directory ( Take image file as an example , The current project file is the center )
"./1.jpg" or "1.jpg"
2、 The file is in the upper directory
(1) Under the upper directory
"../1.jpg"
(2) One under the upper directory Image Under the folder
"../Image/1.jpg"
(3) Under the upper directory
"../../1.jpg"
3、 The file is in the next directory (Image1 Folder )
"./Image1/1.jpg"
4、 Root directory notation , Any page access Image Under the Image.jpg picture ( Absolute path )
"C:/Image/1.jpg"
The end , Scatter flowers …
边栏推荐
- 树形dp问题
- Is it safe for Huishang futures to open an account online? What is the account opening process?
- [training Day1] spy dispatch
- URL jump vulnerability
- 【集训Day3】Reconstruction of roads
- 二层管理型交换机如何设置IP
- JS function scope variables declare that the variables that promote the scope chain without VaR are global variables
- 【云原生】 iVX 低代码开发 引入腾讯地图并在线预览
- URL跳转漏洞
- 236. 二叉树的最近公共祖先
猜你喜欢
![[300 opencv routines] 240. Shi Tomas corner detection in opencv](/img/3a/0b81fb06e91e681ccc928e67297188.png)
[300 opencv routines] 240. Shi Tomas corner detection in opencv

跨站脚本攻击(XSS)

AI zhetianchuan DL regression and classification

性能调优bug层出不穷?这3份文档轻松搞定JVM调优

Three ways of de duplication in SQL

浅析接口测试

JS function scope variables declare that the variables that promote the scope chain without VaR are global variables

CCS TM4C123新建工程

Analysis of interface testing

第17周自由入侵 指针练习--输出最大值
随机推荐
AI sky covering DL multilayer perceptron
天翼云Web应用防火墙(边缘云版)支持检测和拦截Apache Spark shell命令注入漏洞
Hosts this file has been set to read-only solution
ACL experiment demonstration (Huawei router device configuration)
Cloud rendering volume cloud [theoretical basis and implementation scheme]
AI zhetianchuan DL regression and classification
[training Day1] Dwaves line up
Analysis of interface testing
openssl
Come on developer! Not only for the 200000 bonus, try the best "building blocks" for a brainstorming!
Spark数据格式UnsafeRow
AI遮天传 ML-无监督学习
URL jump vulnerability
Pytest (mind map)
ACL实验演示(Huawei路由器设备配置)
AI遮天传 ML-集成学习
A detailed explanation of throughput, QPS, TPS, concurrency and other high concurrency indicators
常用api
Centos安装docker以及mysql和redis环境
[300 opencv routines] 240. Shi Tomas corner detection in opencv