Search found 4 matches

by neuflex
09 Mar 2009 15:00
Forum: DOS Batch Forum
Topic: date of a file
Replies: 6
Views: 8800

its works :) thanks so much for your help
by neuflex
09 Mar 2009 13:33
Forum: DOS Batch Forum
Topic: date of a file
Replies: 6
Views: 8800

thanks for your help I am still having a few problems tho I think for some reason when it returns the Date back via "ti" it also returns the time as well ie:- !ti! = 09/03/2009 18:08 I have tryed to modifie the string:- set ti=%ti:~0,10% if i just and echo the string !ti! again i get rubbi...
by neuflex
09 Mar 2009 08:42
Forum: DOS Batch Forum
Topic: date of a file
Replies: 6
Views: 8800

it is the date for file was created I have worked out how to display the date for example: - FOR %%i IN (test.txt) DO ( ECHO Last-Modified Date : %%~ti SET %var = %ti% ) when i try and pass %ti% to %var and display that it dont like it and when i try and echo %var I want it to display the date it wa...
by neuflex
09 Mar 2009 05:27
Forum: DOS Batch Forum
Topic: date of a file
Replies: 6
Views: 8800

date of a file

Hello,

iam having trouble finding the date of a file.

can i pass the date of when a file was created to a variable?

I then to move it if its a centain date

thanks in advance