HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-16-2007, 12:39 PM
Mike B
 
Posts: n/a
Default 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

Reply With Quote
Sponsored Links
  #2  
Old 12-16-2007, 06:20 PM
Ronnie Vernon MVP
 
Posts: n/a
Default 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@discussions.microsoft.com> wrote in message
news:55D852D2-8E2C-4AAA-9BB6-F8201B4B17B0@microsoft.com...
>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
  #3  
Old 12-16-2007, 08:32 PM
Mike B
 
Posts: n/a
Default 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:

> 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@discussions.microsoft.com> wrote in message
> news:55D852D2-8E2C-4AAA-9BB6-F8201B4B17B0@microsoft.com...
> >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
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the 2000 file limit in FTP (command line) DeanB Windows XP Basics 1 12-02-2007 12:31 AM
Wmic command-line tool in Vista 64 Kue2 Windows Vista 0 10-18-2007 05:23 PM
sort by file creation date JoanR Windows Vista 4 07-04-2007 05:34 PM
Change the Network location from command line Ruud Windows Vista Installation 0 06-10-2007 07:54 PM
Command line tool for recursive copy Joachim Windows XP Basics 5 05-07-2007 01:21 PM


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger