-
Notifications
You must be signed in to change notification settings - Fork 2k
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
init.bat throws "The input line is too long" error #2247
Comments
What do you mean 'Right now I have reverted it to the original init.bat.'? What version works? That code has been in place for several versions of cmder. |
I meant I reverted my changes, that is I removed all my debugging traces, so the |
Do previous versions of cmder have the same issue? |
Chances are the path is already near its max length and when we try to add to it there is an error. This is probably not something we can fix as it is a limitation of cmd.exe. Just a theory given what I know. |
Not the path to Git the overall system path. You could add |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contribution(s). |
@guoliang Diag scripts: |
λ bash bin\cmder_diag.shls -la C:\tools\cmdertotal 256 ls -la C:\tools\cmder/vendortotal 150 ls -la /s C:\tools\cmder/binls: cannot access '/s': No such file or directory ls -la /s C:\tools\cmder/configls: cannot access '/s': No such file or directory 'C:\tools\cmder/config/profile.d': envfeFlagName= which git/cmd/git |
Purpose of the issue
Version Information
1.3.14
Windows 10 Pro 1803
Description of the issue
When I start cmder using the provided
init.bat
I get following errorI have traced it down to the following line where it starts to throw errors i.e "The input line is too long"
cmder/vendor/init.bat
Line 221 in 638d82e
I tried to fix it somehow, but I'm not a batch script expert. Right now I have reverted it to the original init.bat.
The text was updated successfully, but these errors were encountered: