String (@NotNull VirtualFile file) { String path = file.getPath(); if (path.length() == 2 && SystemInfo.isWindows && OSAgnosticPathUtil.startsWithWindowsDrive(path)) { // makes 'C:' resolve to a root directory of the drive C:, not the current directory on that drive path += '/'; } return path; }