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

CD into System32 before running reg.exe commands #32

Closed
doZennn opened this issue Oct 21, 2022 · 3 comments
Closed

CD into System32 before running reg.exe commands #32

doZennn opened this issue Oct 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@doZennn
Copy link
Member

doZennn commented Oct 21, 2022

Workaround for people with broken PATH environment variable #31

@doZennn doZennn added the enhancement New feature or request label Oct 21, 2022
@doZennn
Copy link
Member Author

doZennn commented Oct 21, 2022

Or just use the absolute path to reg.exe, pretty sure it's always gonna be at %WINDIR%/System32/reg.exe

@doZennn
Copy link
Member Author

doZennn commented Oct 21, 2022

Or just C:\Windows\System32\reg.exe cause if the their PATH is messed up then there's a chance %WINDIR% is too. Just hope they aren't running Windows on something other than C: somehow.

@doZennn doZennn closed this as completed in 590d6e1 Sep 3, 2023
@dougNetD
Copy link

dougNetD commented Dec 22, 2023

system drives with letters other than C: will not work with this fix, as a workaround i made a symlink to reg.exe in the absolute path required by the app. you could use %SystemDrive% but then that path environment variable may also be broken for some people ... : /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants