date /f >ping.txt

This is sample code in a book on the command line. I have no idea what the /f switch is doing and I cannot find anything about it online (nor in the command line documentation date /?).

Thanks.
Are you sure it's not supposed to be date /t. Without arguments the date command allows to set a new date, which is not needed if you just need to output date to file (that's what /f parameter is for).
Topic archived. No new replies allowed.