Is there a way to get date and time in DOS? I tried "date". but it prompts me to set a new date. In fact, I want to write a batch script to copy a file with the current date and time as the filename (the latest file in a directory) to another network drive. This batch will be scheduled to run every night at 12. Please tell me any way to do it. Thanks!