Let's say I have a file name defined as "..............\bin\prices.xls", is there a simple way to convert that to a fully qualified path (one that includes the Drive letter, colon and all folders to the 开发者_Python百科file)?
Try Path.GetFullPath():
Returns the absolute path for the specified path string.
The absolute path includes all information required to locate a file or directory on a system.
精彩评论