"It is also possible to have the current date and time in the file name. Use any combination of the following tokens, each enclosed between two percent signs: y, yy, yyyy, m, mm, mmm, mmmm, d, dd, ddd, dddd, h, hh, n, nn, s, ss. For example, date_%yyyy%%mm%%dd%_time_%hh%%nn%.csv."
However this doesn't seem to work at all for me. Example I tried:
netscan.exe /auto:"Testing_%mm%-%dd%-%yyyy%_scan.txt" /load:"myfile-Default.xml"
I tried with and without quotes, single quotes, double % signs also no good... I tried with and without extra space between /auto: and /load:, and without extra space nothing works, its like the token doesn't get replaced when saving to file with correct value.
You must make sure the tokens aren't in quotes, and that its two percent signs before and after each token, else it doesn't work with a single percent sign.
If you need a space, it must be in the quotes like below where there's a blank space after 0737 for the filename in the subdirectory of 0737:
netscan.exe /auto:"0737\0737 "%%mm%%-%%dd%%-%%yyyy%%".txt"
this won't work:
netscan.exe /auto:0737\0737 %%mm%%-%%dd%%-%%yyyy%%".txt"
this will without the space: