How can I set realCMD as the default shell?

Xshell 7 allows user to utilize Windows CMD directly within Xshell.

In a Local Shell tab, try using the ‘realcmd’ command instead of the existing ‘cmd’ command.

If you want realcmd to start automatically when a session starts, you can use the set command in the Local Shell.

[c:\~] set StartCmd=realcmd

If WSL is installed on your instance of Windows, you can also enter wsl or bash commands instead of realcmd.