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

Remove ugly black startup window #8

Closed
Maximus5 opened this issue Oct 10, 2013 · 8 comments
Closed

Remove ugly black startup window #8

Maximus5 opened this issue Oct 10, 2013 · 8 comments

Comments

@Maximus5
Copy link
Contributor

When you run cmder.bat, it creates first ugly real console window, and only after that runs ConEmu.
It is possible to avoid that with .lnk file instead of batch.
Batch will not be required.

Example
https://db.tt/MU09ehug

Regards

@samvasko
Copy link
Contributor

I have tried to use links but I found it not working on removable media. My idea is that it has to do with absolute paths.
Ok I just googled a bit and I found this program. I will try your link and this program.
Thanks for a great suggestion!

@Maximus5
Copy link
Contributor Author

Try my .lnk file, it works from any media or folder ;-)

@samvasko
Copy link
Contributor

wow, that is damn smart! I did not know that you can do it that way. Thanks

@samvasko
Copy link
Contributor

do you have any idea how to set the icon? I have serious trouble using %CD% in icon path, where %USERPROFILE% works just fine

@Maximus5
Copy link
Contributor Author

It is impossible. Windows does not support env vars or relative paths in *.lnk
I think, best way is to create small (few lines of source, few KB of code) launcher. Like in PortableApps for example: http://portableapps.com/node/38586

@rdebeasi rdebeasi mentioned this issue Nov 26, 2013
@Shoozza
Copy link
Contributor

Shoozza commented Nov 27, 2013

I think i have a solution:
Create a shortcut with target: %WinDir%\System32\cmd.exe /c cmder.bat
and Run: Minimized

You can still see the command prompt task bar button appear for a very short time but the window starts minimized and isn't visible.

@Maximus5
Copy link
Contributor Author

Who is there...

Shoozza, your solution was suggested in the original issue, surprise.
But is is still not possible to embed icon in *.lnk using relative paths

@Shoozza
Copy link
Contributor

Shoozza commented Nov 27, 2013

The solution is similar to your suggested one in the original issue.

But Instead of calling ConEmu via cmd.exe in the link I call the batch file via cmd.exe.
The batch file then sets the icon (avoiding the relative paths issue in *.lnk files).

You can see the batch file change in #29.

@samvasko samvasko closed this as completed Dec 7, 2013
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

No branches or pull requests

3 participants