Proper casing in A_AhkPath Topic is solved

Propose new features and changes
User avatar
SKAN
Posts: 1551
Joined: 29 Sep 2013, 16:58

Proper casing in A_AhkPath

24 Jul 2023, 14:06

Code: Select all

#Requires AutoHotkey v2.0

Loop Files A_AhkPath
   AhkPath := A_LoopFileFullPath

MsgBox  A_AhkPath         ;  c:\pRoGrAm fILeS\AuToHoTkEy\AutoHotkey.exe
. "`n"  AhkPath           ;  C:\Program Files\AutoHotkey\AutoHotkey.exe
. "`n"  A_ScriptFullPath  ;  C:\Program Files\AutoHotkey\test.ahk
Above script when launched from a batch file/Run dialog:
"c:\pRoGrAm fILeS\AuToHoTkEy\AuToHoTkEy.exe" "c:\pRoGrAm fILeS\AuToHoTkEy\Test.ahk"
 
image.png
image.png (4.51 KiB) Viewed 1249 times
 
For A_AhkPath, the file name is converted correctly, but not the path.
Can this be corrected?

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 13 guests