Help Center

AfxPathCreateFromUrlfunction

Converts a file URL to a Microsoft MS-DOS path.

String ManagementfunctionAfxPath.incdocumented

Syntax

FUNCTION AfxPathCreateFromUrl (BYREF wszUrl AS CONST WSTRING) AS DWSTRING

Parameters

NameDescription
wszUrlA string that contains the URL.

Return value

The MS-DOS path.

Description

Converts a file URL to a Microsoft MS-DOS path.

Example

DIM dws AS DWSTRING = AfxPathCreateFromUrl("file:///C:/Documents%20and%20Settings/URIS.txt")

Reference

  • Include file AfxPath.inc
  • Defined in AfxNova/AfxPath.inc:266
  • Documented in String Management/Path and Url Procedures.md
  • Topic: Path and Url procedures