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

Any documentation on using regular windows shortcut arguments? #1927

Closed
aminomancer opened this issue Jul 11, 2019 · 1 comment
Closed

Any documentation on using regular windows shortcut arguments? #1927

aminomancer opened this issue Jul 11, 2019 · 1 comment
Labels
Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@aminomancer
Copy link

For example .lnk files or tasks. If I just use cmd.exe I can quickly create shortcuts, tasks, etc. with "cmd /A /C blah blah blah" and integrate it with my scripts. But for the new terminal, the parameters don't do anything unless I actually type them in the terminal window, after starting the app. I thought it was just a syntax or path issue so I tried the real path to wt.exe instead of the shell shortcut but same issue, the terminal window starts up but there's no input. So then I figured I'd just build it myself but it doesn't make any difference if I use wt or wtd. I definitely built it correctly with no errors and it works fine in general but I just can't send any arguments to it from outside the app. Looking at the documentation there's not really any mention of it so maybe this is intentional? But I figured the syntax is probably just different, or maybe I need to prefix the arguments to declare which command line or profile I'm trying to use? But I already had changed the settings to make cmd the default profile, it's not like it was starting in the wrong console.

Really what I'm trying to do is just integrate it with all the other non-hidden command line utilities and scripts I used before I started using this terminal. I have a little mini input field app on my desktop that I use to type quick commands and it runs them in cmd.exe. So I want to migrate that over to the terminal if possible, especially since the input box itself can support any encoding I specify. I also have some random automated scripts that occasionally open up command prompts requesting user input or remote input. All these implementations are super basic, like "cmd %blahblah%" so I figured it would be pretty easy.

But if it's not some simple thing, I'm open to modifying the source code if anyone has a sense of what I'd need to change. I already built it once so I have the whole repo cloned already. Otherwise hopefully some documentation can be added that explains how exactly those simple external command line arguments would be parsed. Thanks!

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 11, 2019
@DHowett-MSFT
Copy link
Contributor

This issue has a couple different layers actually. Let me see if I can pick them apart:

Sorry to send you off to so many different places, but I think that'll help both of us out!

@DHowett-MSFT DHowett-MSFT added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Jul 13, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting 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

2 participants