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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safer regedit call #32

Merged
merged 1 commit into from Sep 25, 2020
Merged

Safer regedit call #32

merged 1 commit into from Sep 25, 2020

Conversation

Feday
Copy link
Contributor

@Feday Feday commented Sep 24, 2020

Hi, I used your code as a basis to create an app and was having problems with regedit where it would simply not create the registries.
After investigation I discovered it only happened when the user running application had spaces in his name, therefore the TEMP folder had spaces and it screwed up the command line for regedit.
Simply wrapping the file path in quotes fixed everything, so I would like to share it.
Thanks and awesome work mate 馃憤

Hi, I used your code as a basis to create an app and was having problems with regedit where it would simply not create the registries.
After investigation I discovered it only happened when the user running application had spaces in his name, therefore the TEMP folder had spaces and it screwed up the command line for regedit.
Simply wrapping the file path in quotes fixed everything, so I would like to share it.
Thanks and awesome work mate 馃憤
@project-bot project-bot bot added this to Pull Requests in Drachenhorn Sep 24, 2020
@lightlike lightlike merged commit 9323972 into Drachenhorn-Team:master Sep 25, 2020
Drachenhorn automation moved this from Pull Requests to Done Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Drachenhorn
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants