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

Autorun doesn't work when there's a whitespace in the path #164

Open
janek515 opened this issue Jul 5, 2023 · 1 comment
Open

Autorun doesn't work when there's a whitespace in the path #164

janek515 opened this issue Jul 5, 2023 · 1 comment

Comments

@janek515
Copy link

janek515 commented Jul 5, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 4, 2023
@jonaskohl jonaskohl reopened this Aug 27, 2023
pa-0 added a commit to pa-0/CapsLockIndicator that referenced this issue Aug 21, 2024
Very minor revision to address issue jonaskohl#164 .

```csharp
if (startonlogonCheckBox.Checked)
        // Wrap path in quotation marks to avoid issues with directories containing whitespace
        string ExePath = "\"" + Application.ExecutablePath.ToString() + "\"";
        rk.SetValue("CapsLock Indicator", ExePath);
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants