| 1. |
Solve : deleting files older than 3 months? |
|
Answer» hi thanx for the reply. I wanted to know is it not possible to write a batch file for this . Actually i require a batch script which i will schedule to run once a month , to achieve the purpose. So if anyone can provide me a batch file meeting my requirement , i would be really glad. and also thanx in advance.i have shown you in my post. the utility is called find and how you would use it in a command prompt. you can easily adapt to a batch script. Just that one line will do what you want. And yes , its possible. What it takes is a LITTLE bit of effort to get started.Won't that conflict with the built in Windows find? I had to rename the GNU ECHO util to gnuecho.exe to avoid a similar problem. Quote from: Dias de verano on February 16, 2008, 12:25:52 PM Won't that conflict with the built in Windows find? I had to rename the GNU echo util to gnuecho.exe to avoid a similar problem.it won't. If you installed GNU find in say C:\gnutils\bin , then just simply putting this path in front of your current PATH ENVIRONMENT variable will enable the OS to run the GNU find first. nobody says you need to install into system32 Quote from: ghostdog74 on February 16, 2008, 07:46:53 PM If you installed GNU find in say C:\gnutils\bin , then just simply putting this path in front of your current PATH environment variable will enable the OS to run the GNU find first. Excellent tip. Thanks. |
|