Рішення полягає в тому, щоб повернути годинник до дати, коли програмне забезпечення було вперше встановлено. Це може бути зроблено вручну, але є громіздким. Краще написати невеликий пакетний сценарій, щоб виконати цю роботу. Програмне забезпечення продовжує функціонувати після того, як дата була скинута на поточну дату.
SET BackupDate=%date%
ECHO Today's Date backed up to: %BackupDate%
:: This echo will show you the date format to be used in the next line,
:: or you can simply look at the notification tray.
:: The date itself has to be when you first installed the software.
PAUSE
DATE 2009-05-23
:: CEPT consists of a number of exe files of which FileTypeDoctor is one.
:: Look in Program Files to find the others.
START "" "C:\Program Files\Creative Element Power Tools\File Type Doctor.exe"
:: Reset today's date.
DATE %BackupDate%