"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows XP and DOS

Modify a File's Access, Creation, and Modification Date / Time with File Touch

SUMMARY: For programmers and system administrators - File Touch can modify a file's access, creation, and modification date / time.

When setting up a directory for automatic backups, developing software, or performing other administrative tasks, it might prove useful to be able to modify a file's access, creation, and or modification date / time. One option to handle this is "File Touch" from WinTestGear, accessible via the Windows GUI or DOS command prompt.

The software comes in a .ZIP archive containing one file - FileTouch.exe. If you wish to use this in batch files you may find it easier to unzip the archive into C:\Windows or another directory in your system or user path.

Running the software from the Windows GUI displays the following window:

Running FileTouch from Windows

From here you can select files or whole subdirectories to modify. Then select the new date and time and choose whether to modify the files' creation, modification, and/or access date/times.

To run File Touch from the DOS prompt, display a list of options with the following command:

filetouch -?

For example, the following command modifies the file test.txt, giving it access, creation, and modification dates of January 1, 2008:

filetouch test.txt 1/1/2008 -cma

NOTE that from the command line in some situations you might have to press Enter after FileTouch complete appears. When placed in a batch file this does not seem to be required.

File Touch can be downloaded from the following address:

* File Touch - WinTestGear: http://www.wintestgear.com/products/FileTouch/FileTouch.html

This tip was written regarding File Touch v1.0.0.3, a third-party application. Features, information, and screenshots are subject to change.

Return to the Windows XP and DOS page.

Print this tip

Get the Newsletter

blog comments powered by Disqus

Thanks For Sharing!

Newest Tips:

Windows 8
Make it Easier to Differentiate Explorer Windows by Showing Full Paths
Google Chrome
Easily Share Content on Facebook, Pinterest, Twitter, More
Windows 8
Speed up Your Taskbar Thumbnail Previews
General Computers
[MODIFIED] Why Do Install Programs Ask Me to Close Everything or Restart?

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download.