Hi, Michael
  I'm using git master branch daily build emacs on Windows platform, after this commit to fix bug#31704, running commands directly in eshell always gives output "command not found".
  The cause of this is in lisp/net/tramp.el, function tramp-eshell-directory-change modify eshell-path-env not properly:
  (mapconcat 'identity (butlast (tramp-compat-exec-path)) ":")
  I think variable path-separator should be used instead of ":"

Best regards,