Short: Sets proper dates of TrapDoor inbounds Author: c8345041@cc.newcastle.edu.au Uploader: c8345041 cc newcastle edu au Type: comm/fido Architecture: m68k-amigaos When TrapDoor receives a file, the date of this file is set to the time it was received. This can be inconvenient in many cases. Fortunately TrapDoor does store the original creation time in a filenote it makes for the file. The TrapDoor manual has this to say: When a file is received with Zmodem (or any of its derivatives), the original date and time of the file is also transferred and will be stored in a "Time" tag by TrapDoor. The number behind the "Time" tag is a hexadecimal unix timestamp (seconds since 1.1.1970, midnight). So all we need to do is read all the files in the inbound directory for these filenotes, and if we can find the "Time" tag, we can use it to determine the real creation time of the file. This program does just that, and - using the DOS "SetDate" command (thus making this a 2.0+ only program - will drop the datestamp into the file. PlutFileDate keeps an in-shell display of what's being done. Please ensure the DOS program SetDate is in a search path somewhere so PlutFileDate can do its stuff! Sometimes a file will not have a "Time" tag. In this case, no action is taken. Such files not only include files without comments, but files that TrapDoor has had to rename, ie BUMPED filenames. These files don't get the "Time" tag - the original filename is stored in the FileNote instead. If the file has a particularly long filename, TrapDoor sometimes truncates the "Time" tag. If we cannot read the full 8 characters of this string, again no action is taken. Mea Culpa, Peter Deane c8345041@cc.newcastle.edu.au