RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.DosPathToUnixPath Function

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

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

HTTPApp

Use DosPathToUnixPath to convert a path name on the local machine to a path name that can be sent in an HTTP message, or that will be used by a Unix-based application. DosPathToUnixPath converts all backslash characters (\) to forward slashes (/). 

The Path parameter is the Dos-compatible path. The return value is the corresponding Unix-compatible path. 

 

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