Show/Hide Toolbars

Take Command / TCC Help v. 21

Time ranges select files timed at any time between the two specified times of day. For example, to select files modified at or between noon and 2:00 PM on any day, use /[t12:00p,2:00p]. The times in a time range can either be in 12-hour format, with a trailing a for AM or p for PM, or in 24-hour format.

 

When you use a time range in a command it should immediately follow the command name. See General Rules for Using Ranges for additional details.

 

If you omit the second parameter in a time range, you will select files that were modified between the first time and the current time, on any date. You can also use offsets, beginning with a plus sign [+] or a minus sign [-] for either or both of the parameters in a time range. The offset values are interpreted as minutes. Some examples:

 

Specification

Selects Files

/[t12:00p,+120]

modified between noon and 2:00 PM on any date

/[t-120,+120]

modified between two hours ago and the current time on any date

/[t0:00,11:59]

modified in the morning on any date

 

The separator character used in the time may vary depending upon your country information.

 

You can exclude a time range by preceding the range with the ! character.

 

Time types and selection

 

Windows keeps track of three times for a file: when it was created, when it was last modified (written), and when it was last accessed. You can specify which time is used in a time range by adding a (access), c (creation), or w (write) after the t in the range specification. For example, to select all files created between noon and 2:00 pm, you would use /[tc12:00p,2:00p]. If you don't specify which time to use, TCC will use the time the file was last modified (written).

 

NOTE:  On FAT drives which support long filenames, only the last access date is recorded; the last access time is always returned as 00:00. However, on NTFS drives, last access information includes both date and time.

 

Time ranges may not always work as you expect across a network, including on FTP or HTTP servers, due to differences in time zone and file time storage method between the local and remote systems. Be sure to do some non-destructive testing before depending on time ranges to yield the results you want on a remote system.

 

When you use a time range in a command it should immediately follow the command name. See General Rules for Using Ranges for additional details.

 

Defaults

 

Start time:Current time
End time:Current time
Time type:Modification (last write)