followed this and didn't work https://hackaday.com/2018/01/05/finding-your-motorbike-using-wi-fi/ and basic instructions shows

scan_cfg={}scan_cfg.ssid="my_network"scan_cfg.show_hidden=1wifi.sta.getap(scan_cfg, 1, my_function)

but I get this

C:\Windows\System32>scan_cfg={}'scan_cfg' is not recognized as an internal or external command,operable program or batch file.C:\Windows\System32>scan_cfg.ssid="my_network"'scan_cfg.ssid' is not recognized as an internal or external command,operable program or batch file.C:\Windows\System32>scan_cfg.show_hidden=1'scan_cfg.show_hidden' is not recognized as an internal or external command,operable program or batch file.C:\Windows\System32>wifi.sta.getap(scan_cfg, 1, my_function)'wifi.sta.getap' is not recognized as an internal or external command,operable program or batch file.

I am trying to create a bat file that scans for my network, and when not found, runs a function in a different drive i.e.F:\flolder\subfolder\name of file.bat

share|improve this question
1 
Dear - those are not Windows Commands! You need to learn about IoT(NodeMCU) and Lua here.– Am_I_HelpfulJan 12 at 23:19
1 
That appears to be for nodemcu so you won't be able to get that working on a windows command line.– RossJan 12 at 23:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.