Web.HTTPApp.UnixPathToDosPath
Delphi
function UnixPathToDosPath(const Path: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall UnixPathToDosPath(const System::UnicodeString Path);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | Web.HTTPApp |
Description
Converts a Unix-compatible path specification to a Dos-compatible path specification.
Use UnixPathToDosPath to convert a path name obtained from an HTTP message or other Unix-based application to a path name that can be used by Windows. UnixPathToDosPath converts all forward slashes (/) to backslash characters (\).
The Path parameter is the Unix-compatible path. The return value is the corresponding Dos-compatible path.