htools

 

2
 RunAsDate v1.01 - Run a program with the specified date/time

Description

RunAsDate is a small utility that allows you to run a program in the date and time that you specify. This utility doesn't change the current system date and time of your computer, but it only injects the date/time that you specify into the desired application.
You can run multiple applications simultaneously, each application works with different date and time, while the real date/time of your system continues to run normally.

1

How does it work ?

RunAsDate intercepts the kernel API calls that returns the current date and time (GetSystemTime, GetLocalTime, GetSystemTimeAsFileTime), and replaces the current date/time with the date/time that you specify.

System Requirements

RunAsDate works under Windows 2000, Windows XP, Windows Server 2003, and Windows Vista. Older versions of Windows are not supported.

Versions History

  • Version 1.01:
    • New option: Create a shortcut on your desktop that will run a program with the date/time that you specify.
    • When you don't specify the time in the command-line, the current time will be used, instead of 00:00:00.
  • Version 1.00 - First release.

Using RunAsDate

RunAsDate doesn't require any installation process or additional DLL files. In order to start using it, simply copy the executable file (RunAsDate.exe) to any folder you like, and run it.
In the main window of RunAsDate, select the desired date and time and the application that you want to run. Optionally, you can also specify the command-line parameters to run the program. Press the "Run" button to start the application with the specified date/time.

Using RunAsDate from Command-Line

You can also use RunAsDate from command-line, with the following syntax:
RunAsDate.exe [dd\mm\yyyy] {hh:mm:ss} [Program to run] {Program parameters}

Examples:
RunAsDate.exe 22\10\2002 12:35:22 "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"
RunAsDate.exe 14\02\2005 "c:\temp\myprogram.exe" param1 param2

RunAsDate Limitations

  • RunAsDate only works on 32-bit Windows applications. You cannot use it for old DOS 16-bit programs or for 64-bit Windows applications.
  • RunAsDate will not affect applications that take the current date/time from another source. For example: application that loads the current date from remote server.

Translating RunAsDate To Another Language

RunAsDate allows you to easily translate all dialog-boxes and other strings to other languages.
In order to do that, follow the instructions below:
  1. Run RunAsDate with /savelangfile parameter:
    RunAsDate.exe /savelangfile
    A file named RunAsDate_lng.ini will be created in the folder of RunAsDate utility.
  2. Open the created language file in Notepad or in any other text editor.
  3. Translate the dialog-boxes and string entries to the desired language.
  4. After you finish the translation, Run RunAsDate, and all translated strings will be loaded from the language file.
    If you want to run RunAsDate without the translation, simply rename the language file, or move it to another folder.

License

This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !
Be aware that selling this utility as a part of a software package is not allowed !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

Download RunAsDate

RunAsDate is also available in other languages. In order to change the language of RunAsDate, download the appropriate language zip file, extract the 'RunAsDate_lng.ini', and put it in the same folder that you Installed RunAsDate utility.

Language Translated By Version
Polish wins 1.00
French Pouemes 1.00
Italian Fabio Mastroianni 1.00
Japanese ot_inc 1.00
Russian makar 1.00
Traditional Chinese   1.00
German Latino 1.01
Turkish Mustafa Buðra AKTAÞ 1.01
Dutch Cabrioni 1.00
Spanish Kuro PY 1.01
Arabic ãÇÌÏ ÇáÍÓíä Magid Hussein 1.01
Greek (SpyrosDr) 1.01
Finnish Olli 1.01
Simplified Chinesen renda 1.01
French Eric FICHOT 1.01