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

Open in Command Prompt doesn't open cwd when using cmder #6466

Closed
Tyriar opened this issue May 18, 2016 · 3 comments
Closed

Open in Command Prompt doesn't open cwd when using cmder #6466

Tyriar opened this issue May 18, 2016 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded windows VS Code on Windows issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented May 18, 2016

Steps to Reproduce:

  1. Install cmder
  2. Set externalTerminal.windowsExec as cmder.exe path
  3. Right click on explorer folder and select Open in Command Prompt, notice the user dir is opened, not the selected folder.
@Tyriar Tyriar added the bug Issue identified by VS Code Team member as probable bug label May 18, 2016
@Tyriar Tyriar self-assigned this May 18, 2016
@Tyriar
Copy link
Member Author

Tyriar commented May 18, 2016

Not sure why Cmder doesn't like the cwd, it works when I run Cmder.exe /start <dir> via cmd.exe though.

@Tyriar Tyriar added the windows VS Code on Windows issues label Jul 5, 2016
@martikaljuve
Copy link

It seems to work with these changes in Cmder:

  1. Remove cd /d %CMDER_START% command from cmder\vendor\init.bat: https://github.com/cmderdev/cmder/blob/master/vendor/init.bat#L162
  2. Use %CD% as the dir in the {cmd::Cmder} task:
    cmd /k "%ConEmuDir%\..\init.bat" -new_console:d:%CD%

Haven't figured out how to open multiple vscode terminals inside a single Cmder window.

@Tyriar Tyriar added the help wanted Issues identified as good community contribution opportunities label Oct 3, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Oct 22, 2016

Useful info in duplicate issue: #13921
Relevant discussion: cmderdev/cmder#772

@Tyriar Tyriar closed this as completed in 01b1d00 Oct 22, 2016
@Tyriar Tyriar removed the help wanted Issues identified as good community contribution opportunities label Oct 22, 2016
@Tyriar Tyriar added this to the October 2016 milestone Oct 22, 2016
@Tyriar Tyriar added the verified Verification succeeded label Oct 27, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

2 participants