The net use command is the standard way to map drives in CMD.
Type password when prompted, not stored in command history.
❌ (password visible in history):
Often, you need to connect with a specific username and password. You can add those flags to the end of the command:
