Search found 8 matches

by raj_repos
09 Nov 2007 03:27
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

after i added the new code for checkong if the file is not exists that particular this is working but not for file exists ============== @echo off setlocal enableextensions set now=0 for /F "tokens=1,2 delims=: " %%a IN ("%time%") DO ( set /a now=1%%a*60 + 1%%b - 700 ) if not exi...
by raj_repos
09 Nov 2007 03:24
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

Hi jeb sorry for disturbing again the scripts ia not working at all if i type without any file name also it gives the results as follows if i put any new file also same results pls help C:\>test.bat More than 20 minutes, exactly 582 minutes C:\>test.bat More than 20 minutes, exactly 6445 minutes C:\...
by raj_repos
04 Nov 2007 21:47
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

CHECK THE FILE

Hi Jeb it works , but i put the file name which is not exists also it gives result as follows C:\>test.bat ak4.txt More than 20 minutes, exactly 6109 minutes actually there is no such file (ak4.txt) in this folder then i put one file called ak.txt and run this batch file the result is C:\>test.bat a...
by raj_repos
25 Oct 2007 01:53
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

when i run i get this error between the code C:\>@echo off setlocal set now=0 for /F "tokens=1,2 delims=: " %%a IN ("%time%") DO ( %%a was unexpected at this time. set /a now=%%a*60 + %%b Missing operand. ) set ftime=0 for /F "tokens=2,3 delims=: " %%f IN ("%~t1&qu...
by raj_repos
25 Oct 2007 01:44
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

oK thanks i try this
where i need to put the file name
rds
by raj_repos
17 Oct 2007 21:47
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

HI

Hi jeb
Thanks for your reply
I have external mail client , is it is possibe i can have the script
using that function
rds
by raj_repos
10 Oct 2007 20:23
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

ANY UPDATE PLS
by raj_repos
08 Oct 2007 23:16
Forum: DOS Batch Forum
Topic: FINE THE FILE
Replies: 12
Views: 21443

FINE THE FILE

Hi I am looking for a script whic can check one file in the directory and that particular file need to compare with current time and if it's 20 mimutes less than current time the this script need to send an email for example current time in windows -- 12:30 in my c:\ dir i have the following files t...