Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Perl Script: File Size and File modification

KAKA_2
Honored Contributor

Perl Script: File Size and File modification

Hi Experts,

 

I am poor fellow when working with Script on Windows So i would need your help.

 

To take A decision i need to check few things in a particular order.

 

1. Check if a File abc was modified or not in last X minutes. if yes check next condition else action.

2. Check if the size of file is greater than XXX KB/MB/GB. if it not check next else action.

 

Could you please assist me to achieve the same with perl script?

 

Thanks in advance.

KAKA