how to connect xbee to the wifi with at commands

hi i tried to do ATAS after i put the +++ and got ok, and nothing happened…

and another question,after i put the ATAS for examply i will see some ssid that i want to connect to,so how i do that?

thanks for helping!!

Plug your XBee into your XBee Explorer, and plug the Explorer into your computer. …
Open XCTU. …
Hit Test/Query to make sure you can communicate with your XBee WiFi. …
Click over to the “Modem Configuration” tab. …
Select “Active Scan” near the top of the scrolling window.
Here are the some step to connect your xbee with the wifi.

https://www.desmume.online/download/

thanks for the answer.
i know that way but i need to do it without XCTU… and i want to know the commands… how i do that?