RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.UnixPathToDosPath Function

Converts a Unix-compatible path specification to a Dos-compatible path specification.

Pascal
function UnixPathToDosPath(const Path: string): string;
C++
AnsiString UnixPathToDosPath(const AnsiString Path);

HTTPApp

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!