Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Command line tool to change file creation date?

Reply
Thread Tools Display Modes

Command line tool to change file creation date?

 
 
Mike B
Guest
Posts: n/a

 
      12-16-2007
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

 
Reply With Quote
 
 
 
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      12-16-2007
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" <> wrote in message
news:55D852D2-8E2C-4AAA-9BB6-...
>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
>


 
Reply With Quote
 
Mike B
Guest
Posts: n/a

 
      12-16-2007
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:

> 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" <> wrote in message
> news:55D852D2-8E2C-4AAA-9BB6-...
> >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
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the Time Zone on VISTA from Command Line DAFFODIL_FOR_FORUM Windows Vista General Discussion 8 02-01-2011 11:06 AM
BitLocker Command Line Tool? MMarable Windows Vista Security 4 06-12-2008 11:51 AM
Wmic command-line tool in Vista 64 Kue2 Windows Vista General Discussion 0 10-18-2007 04:23 PM
sort by file creation date JoanR Windows Vista General Discussion 4 07-04-2007 04:34 PM
Change the Network location from command line Ruud Windows Vista Installation 0 06-10-2007 06:54 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59