Search found 4 matches

by zaotaobao
05 Jul 2012 05:47
Forum: DOS Batch Forum
Topic: save files date to compare and delete
Replies: 4
Views: 2570

Re: save files date to compare and delete

OH yeah!!! if sb needs there is! for %%Q IN (*.*) DO ( set FILETIME=%%~tQ set PEPE=%%~tQ echo ************************************************************* echo nombre del fichero:%%Q echo fecha del fichero:%%~tQ echo fecha del fichero formatada:%DATE:~6,4%%DATE:~3,2%%DATE:~0,2% echo fecha del fiche...
by zaotaobao
05 Jul 2012 05:05
Forum: DOS Batch Forum
Topic: save files date to compare and delete
Replies: 4
Views: 2570

Re: save files date to compare and delete

Well...i have searching....so i decided (by myself :O) to modify script ..but sth is wrong.. anyone have a possible solution..i paid for it with and smile..what is wrong here?? @echo off setlocal ENABLEDELAYEDEXPANSION PUSHD %jboss_home%\server\default\tmp echo %CD% set COUNT=%DATE% o FOR %%x in (*)...
by zaotaobao
05 Jul 2012 04:44
Forum: DOS Batch Forum
Topic: save files date to compare and delete
Replies: 4
Views: 2570

Re: save files date to compare and delete

what do you mean?? i'm totally nerd..can you explain with and example?
ty.
ZTB
by zaotaobao
05 Jul 2012 04:08
Forum: DOS Batch Forum
Topic: save files date to compare and delete
Replies: 4
Views: 2570

save files date to compare and delete

Hi everybody, i'm trying to save all the dates from temp directory to compare after and if is necessary delete some of them, but i'm not really an expert about batch, and i can't save the file date..what's the problem??? ty for your time,ZTB. @echo off setlocal ENABLEEXTENSIONS PUSHD %jboss_home%\se...