Just as a heads-up, the link for DirGetParent and DirDelete at https://hotkeyit.github.io/v2/docs/commands/
both point to https://hotkeyit.github.io/v2/docs/comm ... Delete.htm.
DirGetParent is at https://hotkeyit.github.io/v2/docs/comm ... Parent.htm.
I don't think the command version of DirGetParent is working in V1, but I'm certainly happy to have the function version working in V1 .
I tried the following code with AHK_H 32A, AHK_ 32U, and AHK_H 64U, all V1.1.25:
Code: Select all
MsgBox %A_ahkversion%
BaseDir = C:\Users\burque505
;~ DirGetParent, ParentDir, %BaseDir%
ParentDir := DirGetParent(BaseDir)
Msgbox % ParentDir
!x::ExitApp
I don't have any AHK V2 versions, so I haven't tested that.
Regards,
burque505