Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Command line tool to change file creation date?

Reply
 
Old 12-16-2007   #1 (permalink)
Mike B


 
 

Command line tool to change file creation date?

I want to be able to change a file's creation date attribute from the command
line.

I know there are tools out there to do this, but they seem to be shareware
(e.g. DirDate).

I can't imagine that there isn't a way to do this natively in Vista,
though... so is there? Can't be an uncommon thing to want to do as a Vista
admin.

Thanks,

Mike


My System SpecsSystem Spec
Old 12-16-2007   #2 (permalink)
Ronnie Vernon MVP


 
 

Re: Command line tool to change file creation date?

Mike

This is freeware and works very well on Vista.

Look at the 'Touch' command in the Win32 Console ToolBox 1.0.

Steve Miller's Applications Page:
http://www.stevemiller.net/apps/


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Mike B" <MikeB@xxxxxx> wrote in message
news:55D852D2-8E2C-4AAA-9BB6-F8201B4B17B0@xxxxxx
Quote:

>I want to be able to change a file's creation date attribute from the
>command
> line.
>
> I know there are tools out there to do this, but they seem to be shareware
> (e.g. DirDate).
>
> I can't imagine that there isn't a way to do this natively in Vista,
> though... so is there? Can't be an uncommon thing to want to do as a
> Vista
> admin.
>
> Thanks,
>
> Mike
>
My System SpecsSystem Spec
Old 12-16-2007   #3 (permalink)
Mike B


 
 

Re: Command line tool to change file creation date?

Thanks, Ronnie. It's a shame that the 'Touch' command works only with
US-format dates, and that there isn't a simple switch you can use to change
the behaviour, but at the price this guy is charging I can't complain ;-)

The only reason this bothers me slightly is that I'm getting my dates from a
cataloging program that output non-US-format dates, so I will need to write a
line or two of VBS code to convert from US to non-US format before sending
them to 'Touch'... being a VBS novice I'm heading from google for some help...

Thanks,

Mike


"Ronnie Vernon MVP" wrote:
Quote:

> Mike
>
> This is freeware and works very well on Vista.
>
> Look at the 'Touch' command in the Win32 Console ToolBox 1.0.
>
> Steve Miller's Applications Page:
> http://www.stevemiller.net/apps/
>
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "Mike B" <MikeB@xxxxxx> wrote in message
> news:55D852D2-8E2C-4AAA-9BB6-F8201B4B17B0@xxxxxx
Quote:

> >I want to be able to change a file's creation date attribute from the
> >command
> > line.
> >
> > I know there are tools out there to do this, but they seem to be shareware
> > (e.g. DirDate).
> >
> > I can't imagine that there isn't a way to do this natively in Vista,
> > though... so is there? Can't be an uncommon thing to want to do as a
> > Vista
> > admin.
> >
> > Thanks,
> >
> > Mike
> >
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
change file's creation date VB Script
Set File Creation Date VB Script
BitLocker Command Line Tool? Vista security
Wmic command-line tool in Vista 64 Vista General
Suppress output from a command line tool PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46