A_ScripDir yields script full path instead

Report problems with documented functionality
uname
Posts: 10
Joined: 25 Oct 2013, 12:50

A_ScripDir yields script full path instead

20 Sep 2017, 03:54

A_WorkingDir by default set to scrip full path as well.
Is this intended?
just me
Posts: 4793
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: A_ScripDir yields script full path instead

20 Sep 2017, 04:06

MsgBox wrote:---------------------------
Test.ahk
---------------------------
1.1.25.02
D:\AutoHotkey\AHK_L
D:\AutoHotkey\AHK_L
D:\AutoHotkey\AHK_L\Test.ahk
---------------------------
OK
---------------------------
Remaining with AHK 1.1.25.02 until v2 will become beta.
TAC109
Posts: 192
Joined: 02 Oct 2013, 19:41

Re: A_ScripDir yields script full path instead

20 Sep 2017, 05:02

@uname - A_WorkingDir shows the 'current directory' which in your case is the same as A_ScriptFullPath. There could be a number of reasons why this is so. It is unclear why you think this is a bug.
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests