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

New Tab Startup Directory Option Doesn't Work #1097

Closed
Nick-t-go opened this issue Sep 15, 2016 · 5 comments · Fixed by #1504
Closed

New Tab Startup Directory Option Doesn't Work #1097

Nick-t-go opened this issue Sep 15, 2016 · 5 comments · Fixed by #1504

Comments

@Nick-t-go
Copy link

There is an option when creating a new tab that says:

"Startup Directory For New Process"

It allows you to pick any directory you want but it still just opens with my root as the base directory in the command line.

@Nick-t-go Nick-t-go changed the title New Tab Starting Directory Option Doesn't Work New Tab Startup Directory Option Doesn't Work Sep 15, 2016
@romansp
Copy link

romansp commented Sep 20, 2016

Come up with the same issue. I guess that happens because of %USERPROFILE% in your startup task. Managed to fix by following this comment: #91 (comment)

@kibbled
Copy link

kibbled commented Mar 23, 2017

@romansp that doesn't really fix the problem, even if I set that to C:\ it will still ignore the directory I specify when opening a new tab. Very disconcerting that such a basic feature is essentially broke and no feedback from this project on multiple issues people have submitted over the last couple months.

@Artaches
Copy link

Artaches commented May 7, 2017

Here's a work-around: http://stackoverflow.com/questions/31933766/start-up-cmder-conemu-console-in-a-specific-folder/43836978#43836978

Basically, create a shortcut for ConEmu and change the "Start in:" attribute in the shortcut's properties.

lebedev added a commit to lebedev/cmder that referenced this issue Oct 2, 2017
`d` switch specified along with `-new_console` flag in default tasks
commands made them to override chosen startup directory (effectively
ignoring it), therefore it is removed. Closes cmderdev#920, closes cmderdev#1024,
closes cmderdev#1097, closes cmderdev#1303.
lebedev added a commit to lebedev/cmder that referenced this issue Oct 2, 2017
"d" switch specified along with "-new_console" flag in default tasks
commands made them to override chosen startup directory (effectively
ignoring it), therefore it is removed. Closes cmderdev#920, closes cmderdev#1024,
closes cmderdev#1097, closes cmderdev#1303.
lebedev added a commit to lebedev/cmder that referenced this issue Oct 2, 2017
"d" switch specified along with "-new_console" flag in default tasks
commands made them to override chosen startup directory (effectively
ignoring it), therefore it is removed. Closes cmderdev#920, closes cmderdev#1024,
closes cmderdev#1097, closes cmderdev#1303.
Stanzilla pushed a commit that referenced this issue Oct 28, 2017
"d" switch specified along with "-new_console" flag in default tasks
commands made them to override chosen startup directory (effectively
ignoring it), therefore it is removed. Closes #920, closes #1024,
closes #1097, closes #1303.
daxgames pushed a commit to daxgames/cmder that referenced this issue Mar 7, 2018
"d" switch specified along with "-new_console" flag in default tasks
commands made them to override chosen startup directory (effectively
ignoring it), therefore it is removed. Closes cmderdev#920, closes cmderdev#1024,
closes cmderdev#1097, closes cmderdev#1303.
@AntseN
Copy link

AntseN commented Oct 2, 2018

This is not fixed !
-new_console:d:"C:\"

Still ignoring any of the path given to it.

@daxgames
Copy link
Member

daxgames commented Oct 2, 2018

@AntseN what exactly is not fixed?

If cmder.exe is in my path I can type cmder.exe from any directory and it will open in that directory. I can even type cmder.exe in the Windows Explorer path bar and it opens in the current directory displayed in Explorer

I can launch cmder c:\ and it will open in c:\

I can click the green + in conemu and specify a startup dir for a new tab there and it also works.

I think the problem is with your cmder tasks config the we provide defaults so for on a new install but never touch again because it becomes yours to managed.

Old versions of cmder had -new_console:d:"%userprofile%" in every task. You need to remove this setting from the tasks in conemu that you use to launch sessions.

Also make sure you are using the latest builds of cmder available here

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 a pull request may close this issue.

6 participants