I have an absolute path and a relative path, and I want to combine the two, is there a built-in way?
The relative path may also be " ../../aa2/file.exe".
../../aa2/file.exe
( path.combinedoes not support it - this is rather strange.)
path.combine
Try Path.GetFullPath(Path.Combine(abs, rel))
Path.GetFullPath(Path.Combine(abs, rel))
Source: https://habr.com/ru/post/1720489/More articles:Problem printing Canvas tag content (Chrome, Opera) - javascriptPassing between function pointers - c ++Calculate SHA1 or MD5 hash in iReport - javaIs it unusual for a web service call to have an "out" parameter? - web-servicesHow to get / set the working directory of the winforms application? - c #How much responsibility should a method have? - designGWT UI Testing Tool - user-interfacehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1720492/creating-temporary-jms-jms-topic-in-spring&usg=ALkJrhiqOQgODOT7b9hIbBNu-MVVuB2-VgEDITED: Where and how should temporary files be downloaded? - c #Is it possible to run the application as an administrator from the Delphi IDE - windows-vistaAll Articles