Summary
This program will add the file date and time to the filename (rename it) to ensure
that this file will be unique.
Parameters
RenTS
[/f=]<file name>
[/d=<format>]
[/b]
[/s[=<separator>]]
[/t]
[/v]
/VersionInfo or /i
|
Display application version.
|
/FileName= or /f=
|
File name to be renamed.
|
/DateTimeFormat= or /d=
|
Date/time format
|
/Before or /b
|
Put the date/time before the file name.
|
/Separator= or /s=
|
Define the separator between the file name and the datetimestamp. To remove the separator, use only /s.
|
/TestOnly or /t
|
Test the given date/time format (don't run).
|
/Verbose or /v
|
Show processing files.
|
/Help, /h or /?
|
Display help. This will also display how the format works.
|
You can use wildcards in the FileName.
The file(s) which match the FileName will be renamed. If the file on the disk
contains two brackets, the timestamp will be placed between the brackets.
Example
Rename the log file of the NTBackup that runs every weekday:
NTBackup Backup d: /a /d"BACKUP CMD" /l"C:\Backup-logs\Backup.log" /tape:0
RenTS C:\Backup-logs\Backup.log
Before renaming:
Volume in drive C has no label.
Volume Serial Number is 8C41-112B
Directory of C:\Backup-logs
24-06-00 17:42 <DIR> .
24-06-00 17:42 <DIR> ..
12-05-00 12:02 125.390 Backup.log
3 File(s) 125.390 bytes
839.254.528 bytes free
After renaming:
Volume in drive C has no label.
Volume Serial Number is 8C41-112B
Directory of C:\Backup-logs
24-06-00 17:42 <DIR> .
24-06-00 17:42 <DIR> ..
12-05-00 12:02 125.390 Backup 20000512-120226.log
3 File(s) 125.390 bytes
839.254.528 bytes free
Restrictions
This program will not rename hidden or system file, volume ID's or directories.
This program is developed under Win NT 4.0, but run under any Win32
operating system.
Output
This program reports only the names of the files which can't be renamed.
Type of software
This program is freeware. If you like this program or have any sugestions, please send
me an e-mail. If you like, I will send
you a message if there is a new version of this utility.
|