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

Not able to use reg add. Getting syntax error #15068

Closed
dvein95 opened this issue Mar 29, 2023 · 7 comments
Closed

Not able to use reg add. Getting syntax error #15068

dvein95 opened this issue Mar 29, 2023 · 7 comments
Assignees
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@dvein95
Copy link

dvein95 commented Mar 29, 2023

Windows Terminal version

1.16.10262.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

Try to add reg value but getting syntax error
reg add HKEY_CURRENT_USER\software\microsoft\office\16.0\outlook\search /t REG_DWORD /v test /d 1

Expected Behavior

expected to add the reg value

Actual Behavior

syntax error occur

@dvein95 dvein95 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Mar 29, 2023
@DHowett
Copy link
Member

DHowett commented Mar 29, 2023

Can you share a screenshot?

This isn't exactly something Terminal is in control of, but we can still try to help.

@DHowett DHowett added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Mar 29, 2023
@dvein95
Copy link
Author

dvein95 commented Mar 29, 2023

terminal_error
Pleasee see the screenshot.
If I run the command in PowerShell Terminal there is no issue.
If I run the command using normal cmd there is no issue

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Mar 29, 2023
@zadjii-msft
Copy link
Member

Huh.

This might sound weird, but are you typing the command in, or copy-pasting it/? I wonder if there's a paste filter in conhost that might translate characters that look like . or / into the ASCII ones.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Mar 31, 2023
@dvein95
Copy link
Author

dvein95 commented Apr 2, 2023

Hmm, I copy the command in NotePad then it works. Seems Terminal not able to automatic change the ASCII or otherway around

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Apr 2, 2023
@carlos-zamora
Copy link
Member

Note to team:
we should either...

@carlos-zamora carlos-zamora self-assigned this Apr 5, 2023
@carlos-zamora
Copy link
Member

/dup #6134

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Attention The core contributors need to come back around and look at this ASAP. labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants