Code: Select all
#NoEnv
#NoTrayIcon
Path = %1%
Msgbox, % Path
ExitApp
Code: Select all
%commander_path%\AutoHotkey\AutoHotkey.exe "%commander_path%\Scripts\Script.ahk"
But if path contains space - script can't receives this parameter correctly (it receives only part of path before space).
If I try use "%P" in quotes - then script adds excess quotes to path...
How to correct?