Windowsのファイルパスの解釈
#Windows
C:tmp.txt
はカレントドライブのカレントディレクトリの
tmp.txt
https://learn.microsoft.com/ja-jp/windows/win32/fileio/naming-a-file
https://learn.microsoft.com/ja-jp/dotnet/standard/io/file-path-formats
絶対パス
は
Windows API
の
GetFullPathName
で取得する
.NET
https://github.com/dotnet/runtime/blob/v8.0.6/src/libraries/System.Private.CoreLib/src/System/IO/PathHelper.Windows.cs#L77
Rust
https://github.com/rust-lang/rust/blob/1.79.0/library/std/src/sys/path/windows.rs#L341