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

Using Environment Variable (like %ProgramFiles%) in Custom Shortcut Target results in VBS Error #425

Open
ChaliceChore opened this issue Sep 14, 2024 · 0 comments

Comments

@ChaliceChore
Copy link

ChaliceChore commented Sep 14, 2024

Pretty much the title. Using Environment Variable (like %ProgramFiles%) in the Custom Shortcut Target (plus additional details in the other boxes) results in a VBS Error.

Screenshot 2024-09-14 153803

Env Var Error

This is because the WshShell.CurrentDirectory line of the VBS script becomes WshShell.CurrentDirectory = "<path\of\parent\folder\of\TileIconifier.exe>\%ProgramFiles%\BraveSoftware\Brave-Browser\Application\".

For example:
WshShell.CurrentDirectory = "D:\Software\TileIconifier\%ProgramFiles%\BraveSoftware\Brave-Browser\Application\"

@ChaliceChore ChaliceChore changed the title Using Environment Vairable (like %ProgramFiles%) in Custom Shortcut Target results in VBS Error Using Environment Variable (like %ProgramFiles%) in Custom Shortcut Target results in VBS Error Sep 14, 2024
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