I found an IP scanner that I can run in a batch file and it saves the results of the scan into a CSV file. I need help naming that file. My goal is to have the SSID (currently connected to), date, and time all part of the file name. Hyphens/dashes are fine, but I prefer no spaces in the file name.
This is the IP scanner - https://www.nirsoft.net/utils/wireless_network_watcher.html
The command below works for inserting the date (only the date) in the file name and saves results to the same file every time, overwriting previous scan results.
WNetWatcher.exe /scomma "scan-results-%date:~-10,2%%date:~-7,2%%date:~-4,4%.csv"
Are there tags that can be added to insert the time and SSID in to the file name?
Thank you for your help.