There are no spaces
I did a copy/past of your suggestion above and copied it into a file named addWifi.g. My system seems to want to capitalize the “W” so I went with that through out.
I copied that file to the sd macros folder.
I opened the file on the Sd and double check that everything is correct.
I reinserted the sd into the duet.
I powered the duet up and sent M98 “addWifi.g”
...could not find the file.
I also reformatted an Sd card, copied the addWifi.g to the macros folder, opened it in notepad++ and checked everything again. I tried that SD card and got the same result.
When do I decide the problem is on the board itself. I have seen absolutly no indication that the WiFi module even works. If the board has gone bad, then I’m out ofluck. Like so many others, the pandemic has left me in the position of not being able to replace it. (Not whining ...I’m well aware there are lots of folks in the same mess)