brokenelevator / timestampcreator Goto Github PK
View Code? Open in Web Editor NEWCan batch set timestamps into files on Windows.
Can batch set timestamps into files on Windows.
======================================================================== TimeStampCreator by Aleksander Lorenc ======================================================================== Program can batch set timestamps into files. This program was written and compiled using Microsoft Visual C++ 2010 Express. Idea to write this program came when I was writting TimeStampCopy. Thanks to MSDN Library I was able to code what I needed. ///////////////////////////////////////////////////////////////////////////// Program usage: tsm [target] [creation] [access] [write] [year] [month] [day] [hour] [min] [sec] target - file to save timestamp[s] to creation, access, write - timestamp options: c - replace file timestamp x - leave unchanged day, month, year - timestamp date(YYYY M D) hour, min, sec - timestamp time(24h clock) Any time you write bad command information about usage is shown. Examples: If you want to set creation date of a.txt file to the Battle of Grunwald at noon you write the following tsm a.txt c x x 1410 7 15 12 0 0 If want to set last access timestamp and last save timestamp to b.txt to signing of United States Declaration of Independence at noon you write the following tsm b.txt x c c 1776 7 4 12 0 0 ///////////////////////////////////////////////////////////////////////////// Requirments: Windows 2000 Professional or above ///////////////////////////////////////////////////////////////////////////// Other information: The filenames I was using were non-latin(hangul) and the program failed. This is what I've done to make it work. There might be an easier/better way. I made a utf-8 without bom batch(.bat) file in Notepad++. First line was "chcp 65001". Then "tsm..." Then I run it through PowerShell ISE v2. There is command line in lower half. I wrote "./file.bat". /////////////////////////////////////////////////////////////////////////////
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.