Polenta Touch - PTouch

Download Portable Download Installer

PTouch Icon

Description

PTouch is a Windows clone of the Unix touch command. It creates empty files or updates the access and modification timestamps of existing files. Perfect for automation scripts, build systems, and file management tasks.

Platform: Windows 10/11 (x64)
License: Freeware
Version: 1.0.0

Features

PTouch provides full control over file timestamps with Unix-compatible options:

Usage

PTouch.exe [options] file1 [file2 ...]

Examples

PTouch.exe file.txt
Create file.txt if it doesn't exist, or update its timestamp to current time
PTouch.exe file1.txt file2.txt file3.txt
Touch multiple files at once
PTouch.exe -c file.txt
Only update timestamp if file exists (don't create)
PTouch.exe -a file.txt
Update only the access time
PTouch.exe -m file.txt
Update only the modification time
PTouch.exe -r reference.txt file.txt
Copy timestamps from reference.txt to file.txt
PTouch.exe -t 202501151430 file.txt
Set timestamp to January 15, 2025 at 14:30
PTouch.exe -t 2501151430 file.txt
Set timestamp (year 2025, Jan 15 14:30)
PTouch.exe -t 01151430 file.txt
Set timestamp using current year (Jan 15 14:30)

Timestamp Format

The -t, --time option accepts timestamps in the format:

[[CC]YY]MMDDhhmm[.ss]
Download Portable Download Installer Back to Products