开发者

Difference in path xxxx/./xxxx and xxxx/xxxx

is there a difference in the following two paths?

Path="/apps/WebLogicPPT/user_projects/wlsPPTDomain/./application开发者_StackOverflows/ssc/sscoc_web_sos_11.1ps_v0.1.ear"

Path="/apps/WebLogicPPT/user_projects/wlsPPTDomain/applications/ssc/sscoc_web_sos_11.1ps_v0.1.ear"


In most operating systems, . represents the current directory and .. represents the parent directory.

Given a file structure like this:

C:.
└───foo
    └───bar      

You can list the contents of bar in numerous ways:

dir c:\foo\bar
dir c:\foo\.\.\.\.\.\bar
dir c:\foo\..\foo\..\foo\bar\.
...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜