Page 1 of 1

Access Denied

Posted: 29 Jun 2015 09:56
by SkyFrontier
For instance, in an elevated instance of xy, when I
text listfolder("%USERPROFILE%\Recent", , 0, "<crlf>");
I get an "access denied" warning.
Instead,
text listfolder("%USERPROFILE%", , 0, "<crlf>");
works fine.

What goes...?

Re: Access Denied

Posted: 29 Jun 2015 10:11
by highend
Just use the non junction path: %appdata%\microsoft\windows\recent

Re: Access Denied

Posted: 29 Jun 2015 10:14
by SkyFrontier
Thanks! :tup: