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

Allow to run cmd task from custom location. #36

Closed
wants to merge 3 commits into from
Closed

Allow to run cmd task from custom location. #36

wants to merge 3 commits into from

Conversation

schlamar
Copy link
Contributor

This works automatically if you launch the first instance via the bat file. If this should work via context menu integration, you have to set the CMDER_ROOT environment variable.

@dbowring
Copy link

See #30 for alternate solution

@jazzzz
Copy link

jazzzz commented Nov 28, 2013

With #30 Cmder always start in the user home dir, whereas this pull request allows to open Cmder in any directory, which is really useful.

There is just one thing missing in this pull request, the paths should be absolute in Cmder.bat (see commit f325855)

Set absolute paths in Cmder.bat
@schlamar
Copy link
Contributor Author

Done in /~https://github.com/schlamar/cmder/pull/1
(I can send a PR from another fork to my own fork, really nice Github 👍 )

@samvasko
Copy link
Contributor

whops, I balled up the merging 😕
but It works! Thanks

@samvasko samvasko closed this Nov 29, 2013
@schlamar schlamar deleted the custom-dir branch November 29, 2013 13:30
@jazzzz
Copy link

jazzzz commented Nov 29, 2013

Commit ee50cc5 breaks this by forcing the initial directory to %USERPROFILE%.

@samvasko
Copy link
Contributor

Oh, so can we combine the behavior?

@schlamar
Copy link
Contributor Author

We could set the start dir in the bat but not in the task.

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

Successfully merging this pull request may close these issues.

4 participants