I want to create a file, but I want the creation time displayed not to be the current day. I don't know how to achieve it with a batch file. Please advise.
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by zw19750516 at 2008-5-5 11:59 PM:
@echo off
echo 2008-04-05|date
type nul>test.txt
echo 2008-05-05|date
[ Last edited by zw19750516 on 2008-5-6 at 12:00 AM ]
Originally posted by HAT at 2008-5-5 23:09:
@echo off
echo 04-05-2008|date
type nul>test.txt
echo 05-05-2008|date
Originally posted by uemuem at 2008-5-7 04:47 PM:
5-6 can't be used, haha...
