Link to home
Create AccountLog in
Avatar of Rahul Patil
Rahul PatilFlag for India

asked on

Batch script to check a file is presentin folder or not

Hi Friends,

I need a batch file script to accomplish below tasks

1)Weather a file is present in a particular folder at particular time (A file arrives daily in a folder after a scheduled task-need script a check if file is arrived or not?)

2)If file is present then ignore but if file is not arrived then send mail

3)Also script should check date stamp i.e. if file is recent/Todays or not.

Regards,
Rtantra
ASKER CERTIFIED SOLUTION
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Can I ask why my solution is "average?"  You said that you wanted to look for a file in a folder with today's date and be notified - correct?

You did not provide any updates/suggestions/corrections/etc.

Even though you awarded me all of the points, something just does not add up.

Thanks,

Kent