A file, e.g. cygwinbash.bat, somewhere in a folder which is in the PATH with
c:\\cygwin64\\bin\\bash -i -l
works well, except that the Julia window title is changed permanently to the bash prompt, which is in my case a ~.
cmd isn’t necessary here, because a .bat file is running in a cmd shell.
The change of the window title can be avoided by setting environment variable
PS2,… not tested) to something without the escape sequences
For my cygwin
PS1 is set in
and editing it there (removing above esc sequenced from the beginning of the PS1 string) solved this (minor) issue, too. Doing this, will prevent change of window title for all (interactive) cygwin bash windows. There are options to use a specific resource file or none at startup, but I stopped investigating further. These details are easily found in the man page of
bash or on the web.