Skip to content

Does not work with cyrillic alphabet #11

@JaneX8

Description

@JaneX8

Great work. However, I can't get it to work with Cyrillic alphabet. I'm using

            Write-Host $shortcuts
            foreach ($shortcut in $shortcuts) {
                # Use pttb.exe to pin the shortcut to the taskbar
                Start-Process -FilePath $pttbPath -ArgumentList $shortcut.FullName -NoNewWindow -Wait
                Write-Host "Pinned $($shortcut.FullName) to the taskbar using pttb.exe"
            }

Works great for English filenames such as

Brave.lnk

Pinned C:\Users\Public\Desktop\Brave.lnk to the taskbar using pttb.exe

But not for Ukrainian filenames such as:

Інтернет.lnk

ERROR_FILE_NOT_FOUND: "C:\Users\Public\Desktop\"
Pinned C:\Users\Public\Desktop\Інтернет.lnk to the taskbar using pttb.exe

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