絕對路徑我已經看到了網上的代碼,我不知道如何從從相對路徑
"../../../path"
你"/relative/sub/foo/sub/file"
這裏是子/富/子....
var uri = new URI("../../../path");
// make path absolute
var relUri = uri.absoluteTo("/relative/sub/foo/sub/file"); // returns a new URI instance
// relUri == "/relative/path"
你在哪個lang編程? – luxas