Function Reference


_PathFull

Creates a path based on the relative path you provide. The newly created absolute path is returned

#include <File.au3>
_PathFull ( $sRelativePath [, $sBasePath = @WorkingDir] )

Parameters

$sRelativePath The relative path to be created
$sBasePath [optional] The base path to be used. Default = @WorkingDir

Return Value

Returns a relative path will be built relative to $sBasePath. To bypass this behavior, use an absolute path.

Remarks

UNC paths are supported.
Pass "\" to get the root drive of $sBasePath.
Pass "" or "." to return $sBasePath.

Related

_PathMake, _PathSplit, _WinAPI_GetFullPathName

Example

#include <File.au3>
#include <MsgBoxConstants.au3>

Local $sTestPath = _PathFull(@ScriptDir & "\..\..\test")
MsgBox($MB_SYSTEMMODAL, "", @ScriptDir & @CRLF & $sTestPath)