Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Diruse batch script help
Name: Allen (by dryroasted_99) Date: July 29, 2008 at 08:18:32 Pacific OS: Win XP CPU/Ram: 512 Product: Dell
Comment:
I have folder that has a something call Audit.DAT when its size reaches to 2G. It stops the application and start given errors. So, I have to make new Audit.dat and rename the old Audit.old. I can never tell when it will reach to 2G so i have to check the size every other week . I thought Diruse would work but it didn't work it only works checks DIR/Sub Dir. Any Advice or suggestion or script that will help! I would like to get an email alert before it gets to 2G. Here is what i have worked on.
Name: Razor2.3 Date: July 29, 2008 at 18:42:51 Pacific
Reply:
This is going to be a long line (and untested)...
SETLOCAL ENABLEEXTENSIONS FOR %%a IN (\\nt3698\e$\med\MED\Audit.DAT) DO IF %%~Za GEQ 1932735283 (SET str=Alert AUDIT.DAT Limit has exceed 1.8 GB) ELSE SET str=Audit size within Limit - %%~Za
Summary: I need help with a batch script that will do the following: Check to see if any folders or files exist in C:\Temp and if it does delete all folder in C:\Archive. If no folders or files exist in C:\Tem...
Summary: Hello. I've just registered and wondered if you fine people could help me out on a simple batch script programme. I've never done any before and I have to write one that uses the below ideas: Create ...
Summary: I am looking for some help in writing a batch script. What I want to do is suppose that I have a text file with contents as: 1)a 2)b 3)c 4)d Now in some folder C:\Output I have some files with extensi...