Skip to content

hoppfrosch/cPath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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