Click to See Complete Forum and Search --> : Cmd question


kababoom
February 11th, 2008, 08:56 PM
anyone know if there are any difference in terms of functions between these 2 commands
Thanks for any info

time /T >> backup_log.txt

time /T > backup_log.txt

CeeBee
February 11th, 2008, 10:59 PM
time /T >> backup_log.txt
This will output the result of the command (namely the current time) in a file called backup_log.txt, appending it (or creating it if it doesn't exist)

time /T > backup_log.txt
This will output to backup_log.txt, overwriting any content it may have (or creating it if it doesn't exist)