Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.21 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.21 KB

cPath AutoHotkey2

This library uses AutoHotkey Version 2. (Tested and developed with v2.0-a104 x64 Unicode)

Description

AHK class Path for working with Pathes in Windows. It relies heavily on Win-API functionality, which is exposed by several functions (within module PathAPI.ahk) and offers an additional class encapsulating these functionality.

The class Path tries to mimic Perls Path::Tiny.

Usage

Include cPath.ahk from the lib folder into your project using standard AutoHotkey-include methods.

#include <cPath.ahk>
mypath := path("C:/tmp/..\test", "../tmp", "test.txt")
doesExist := mypath.exists
isDir := path("C:\Windows).is_dir

Further Information