This library uses AutoHotkey Version 2. (Tested and developed with v2.0-a104 x64 Unicode)
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.
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
- License
- Author: [email protected]