Path (7.7)

Returns results of Path related operations.

Usage

@Path(<Operation>, [<Argument1>], [<Argument2>])

Argument Name Description
Argument1 Depends on whether the Operation requires an argument.
Argument2 Depends on whether the Operation requires a second argument.
Operation The path operation (case insensitive): @Path(CleanFileName, , ) Replace characters that are not valid in file names with the specified character. @Path(CleanPath, , ) Replace characters that are not valid in file paths with the specified character. @Path(Combine, , ) Combines two strings into a path. @Path(ChangeExtension, , ) Changes the extension of the specified path. @Path(Exists, ) Returns True or False depending on whether the specified path exists. @Path(GetDirectoryName, ) Returns the directory name from the specified path. @Path(GetExtension, ) Returns the extension of the specified path. @Path(GetFileName, ) Returns the filename with the extension of the specified path. @Path(GetFullPath, ) Returns the absolute path of the specified path. @Path(GetPathRoot, ) Returns the root directory information of the specified path. @Path(GetRandomFileName) Returns a random folder or filename. @Path(GetTempFileName) Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. @Path(GetTempPath) Returns the path of the temporary folder of the current user. @Path(HasExtension, ) Determines whether a path includes a file name extension. @Path(IsPathRooted, ) Gets a value indicating whether the specified path string contains a root. @Path(RemoveExtension, ) Returns the filename without the extension of the specified path.