I want to go to a specific directory after I start a shell. So I put these lines in my .emacs file:
(shell)
(shell-command "cd C:/MyStartUp/ThisDirectory")
(setq default-directory "C:/MyStartUp/ThisDirectory")
However, whenever I start emacs, the shell ends up in this directory
c:\emacs-26.3\bin>
How do I fix this?