Skip to content

UnauthorizedAccessException when gettings shortcut filesΒ #2

@NitroFrench

Description

@NitroFrench

Hi, thanks for this very good looking program.

When initiazing, inStrmenu.cs there is an instruction to get all shortcut files from various path :
foreach (var shortcut in Directory.GetFiles(path, "*.lnk", SearchOption.AllDirectories))

The GetFiles throws an UnthaurizedAccessException when accessing my appdata folder.

Tried to change the appmanifest, run as admin, security settings of folder, but I found no way the fix this, any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions