You can set useful options after 'Explorer' on the same line of code. The 'Access a folder' script runs File Explorer with its default options. It will also insert the converted path name in your AHK script (wherever your cursor happens to be): AhkFriendlyPath := RegExReplace(Clipboard, '(``|`%|`,|` )', '``$1') To make things easier, you may want to use the following script (and maybe save it as a key on your Enterpad) to automatically add backticks before any special characters in a path name that has been copied to your Windows clipboard. For example, if ( % ) appears in the path name, you will need to add a backtick before it, like this ( `% ). However, should your path contain AutoHotkey characters with special meaning, such as ( ` ), ( % ), ( , ), or ( ), you will need to prefix them with a backtick ( ` ).
Spaces in the path name won’t cause a problem. Run Explorer 'C:\Users\John Doe\Documents\ThisYear'