You're close. Watch those slashes: forward slashes (/) are for
switches, backslashes are for folders. Also: If you want to
maintain the current date of the file then you must specify it
with the /d switch. If you don't then the file will assume today's
date.
C:\My Programs\touch.exe /t 15:30 C:\Data\Test\Photo.jpg
"Cliff-Stouff" <(E-Mail Removed)> wrote in message
news:42D116A9-7BB2-47CC-8740-(E-Mail Removed)...
>I am a bit confused on how to execute this program.
>
> Is this the correct command line to change the Modified
> Time to 3:30pm for one file called Photo.jpg
>
> C:/My Programs/touch.exe /m/t15:30 C:/Data/Test/Photo.jpg
>
> Cliff
>
> "Pegasus (MVP)" wrote:
>
>>
>> "Cliff-Stouff" <(E-Mail Removed)> wrote in message
>> news:62F2B44D-CD3C-4A6E-A324-(E-Mail Removed)...
>> > Can I change the time that a file was created?
>> >
>> > Thanks for your help
>> >
>> > Cliff
>>
>> Touch.exe (http://pobox.com/~stevemil) can do this.
>>
>>
>>