my point is this:I believe 'running as administrator' can make a difference - even if you are the administrator.I may be wrong - but will you please try it - it will either work, or not, and we can then drop it...

The text from this control comes prefixed with "Address: " on a US-English Windows installation, and "Adres: " with the Dutch language pack active (I have separate logins for separate languages on this Windows 10 system ), so the string-splitting is based on the ": " part.I'm no expert on AHK, but it "Works On My Machine" (r) Can't test with Windows 7 (at the moment) or Windows 8.x (at all as I don't have that @#$#%-OS here), but as Windows Explorer has a lot of similarities I sortof assume it should work there too. Else use the AHK Window Spy to get the control-name that holds the address for the current folder:

Only once the address is selected it reveals the Edit1 control as used in the original code:

I started off with the script you originally posted, and implemented the suggestion by MilesAhead using "#IfWinExists ahk_class ... " instead of "#if WinExists(...)", though that doesn't matter much (tested both, worked just fine)Then I tried to find the reason it didn't get the value for the DesPath variable, trying to understand how it got it in the first place. Then used the AHK AutoIt3 Window Spy tool that comes with the AHK installer to find the control-name for the current Path of the Explorer window, parsed it to remove the Address: prefix, and 'et voila', working .BTW, I've compiled the script into a .exe, and it works both compiled for x86 (32 bit Unicode) or x64 (64 bit Unicode). I think the Unicode compilation is required for current Windows versions, to enable it working for *any* Language-locale. Doesn't need to be Run As Administrator (though I still have UAC enabled).

This is my current script: (Didn't do any nice indenting or comments , only added the current path to the "File Name" first line of the list)

At the present moment i have problems with Microsoft as usual. All my attempts to go to windows 10 fails until the moment under different messages . Like error 80007003 and others. After try all the usual solutions i have arrived to the microsoft forums and waiting.