Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with cyrillic alphabet #11

Open
JaneX8 opened this issue Apr 19, 2024 · 0 comments
Open

Does not work with cyrillic alphabet #11

JaneX8 opened this issue Apr 19, 2024 · 0 comments

Comments

@JaneX8
Copy link

JaneX8 commented Apr 19, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant