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
"c:\pRoGrAm fILeS\AuToHoTkEy\AuToHoTkEy.exe" "c:\pRoGrAm fILeS\AuToHoTkEy\Test.ahk"
For A_AhkPath, the file name is converted correctly, but not the path.
Can this be corrected?